CPatterned: Correct use of bool in bitfield

This is incremented within PathFind(), however, because the type within
this bitfield is a bool, this can trigger compilation warnings (rightly
so). So we can make it a uint32_t to make it obvious that the
incrementing behavior is intended.
This commit is contained in:
Lioncash 2019-08-23 22:26:04 -04:00
parent 52667b2069
commit fa608acb06
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ protected:
bool x400_29_pendingMassiveFrozenDeath : 1;
bool x400_30_patternShagged : 1;
bool x400_31_isFlyer : 1;
bool x401_24_pathOverCount : 2;
uint32_t x401_24_pathOverCount : 2;
bool x401_26_disableMove : 1;
bool x401_27_phazingOut : 1;
bool x401_28_burning : 1;