- made DDukeActor::movflag unsigned.

Due to the values it holds it cannot be a signed short as this would wrap around to something negative.
This commit is contained in:
Christoph Oelckers 2022-11-14 19:25:28 +01:00
parent e867c4603f
commit c94d2fb3d0

View file

@ -41,7 +41,8 @@ public:
uint8_t cgg; uint8_t cgg;
uint8_t spriteextra; // moved here for easier maintenance. This was originally a hacked in field in the sprite structure called 'filler'. uint8_t spriteextra; // moved here for easier maintenance. This was originally a hacked in field in the sprite structure called 'filler'.
short attackertype, hitextra, movflag; uint16_t movflag;
short attackertype, hitextra;
short tempval, dispicnum, basepicnum; short tempval, dispicnum, basepicnum;
unsigned short timetosleep; unsigned short timetosleep;
DVector2 ovel; DVector2 ovel;