mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
add safeties for enum math across define boundaries
This commit is contained in:
parent
1230d0d280
commit
aa02e48c8d
20 changed files with 71 additions and 71 deletions
|
|
@ -1169,7 +1169,7 @@ U32 AITurretShape::packUpdate(NetConnection *connection, U32 mask, BitStream *bs
|
|||
U32 retMask = Parent::packUpdate(connection,mask,bstream);
|
||||
|
||||
// Indicate that the transform has changed to update the scan box
|
||||
bstream->writeFlag(mask & (PositionMask | ExtendedInfoMask));
|
||||
bstream->writeFlag(mask & ((U32)PositionMask | (U32)ExtendedInfoMask));
|
||||
|
||||
// Handle any state changes that need to be passed along
|
||||
if (bstream->writeFlag(mask & TurretStateMask))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue