mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- 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:
parent
e867c4603f
commit
c94d2fb3d0
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue