mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- made DukeActor::timetosleep unsigned.
Although mostly theoretical it is possible for this to overflow and render the actor non-functional. If the value is unsigned the overflow will wrap around to 0 which is not critical.
This commit is contained in:
parent
15fc9e47fd
commit
88d421300a
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
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;
|
||||
short tempval, dispicnum, basepicnum;
|
||||
short timetosleep;
|
||||
unsigned short timetosleep;
|
||||
DVector2 ovel;
|
||||
DAngle hitang;
|
||||
double floorz, ceilingz;
|
||||
|
|
Loading…
Reference in a new issue