Page 1 of 1

[fixed for V0.36] NULL icon = Crash

Posted: Tue Mar 07, 2006 8:27 pm
by Sophia
An object with its icon bitmap set to NULL crashes RTC, at least when I tried to CREATE_NEW_IN_HAND one of it.

Error:
an access violation exception.

Stack Dump:
RTC.DrawBitmap(pointer 0x00DE02F0);
RTC.DrawPartyView();
RTC.ProgStateInDungeon();
RTC.DoFrame(int 50);
RTC.WinMain();

Posted: Wed Mar 08, 2006 12:52 am
by George Gilbert
Erm, you shouldn't be able to even get this far. It is essential that every item has an icon (for starters, the editor would be a nightmare to use otherwise).

I'm actually quite surprised that the dungeon didn't fall over sooner!

For V0.36, I've made not having an icon a critical error.