mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -271,7 +271,7 @@ void StaticShape::onUnmount(SceneObject* obj, S32 node)
|
|||
U32 StaticShape::packUpdate(NetConnection *connection, U32 mask, BitStream *bstream)
|
||||
{
|
||||
U32 retMask = Parent::packUpdate(connection,mask,bstream);
|
||||
if (bstream->writeFlag(mask & (PositionMask | ExtendedInfoMask)))
|
||||
if (bstream->writeFlag(mask & ((U32)PositionMask | (U32)ExtendedInfoMask)))
|
||||
{
|
||||
|
||||
// Write the transform (do _not_ use writeAffineTransform. Since this is a static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue