add safeties for enum math across define boundaries

This commit is contained in:
AzaezelX 2023-04-26 22:27:35 -05:00
parent 1230d0d280
commit aa02e48c8d
20 changed files with 71 additions and 71 deletions

View file

@ -40,10 +40,10 @@
#include "collision/collision.h"
#include "lighting/lightManager.h"
const U32 LightFlareData::LosMask = STATIC_COLLISION_TYPEMASK |
ShapeBaseObjectType |
StaticShapeObjectType |
ItemObjectType;
const U32 LightFlareData::LosMask = (U32)STATIC_COLLISION_TYPEMASK |
(U32)ShapeBaseObjectType |
(U32)StaticShapeObjectType |
(U32)ItemObjectType;
LightFlareState::~LightFlareState()