[fixed for V0.36] NULL icon = Crash

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

[fixed for V0.36] NULL icon = Crash

Post 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();
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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.
Post Reply