Crashing with animation parameters set to 0

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
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Crashing with animation parameters set to 0

Post by Gambit37 »

If you set the parameters of an animation both to 0 (DELAYS=(BITMAP:0,LOOP:0), RTC starts up fine, but bombs out as soon as the animated object comes into view within the dungeon. It's a divide by zero error, which makes sense:

RTC (V0.24) Diagnostic file - Thu May 15 10:39:02 2003

Error:
an integer divide by zero exception.

Stack Dump:
RTC.GetTrueBitmap(int 1568);
RTC.DrawBitmap(pointer 0x00A95170, int 1568, int 0, int 281, int 162, word 108, float 0);
RTC.DrawDungeonItem(int 4, int 4, int 8);
RTC.DrawDungeonTile(int 4, char 14, char 7, char 0);
RTC.DrawDungeonView(char 11, char 6, char 0, char 1);
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 »

Fixed for V0.27
Post Reply