mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Use bitwise instead of logical OR
This commit is contained in:
parent
5b8bfffdec
commit
0cbb4fc8a1
1 changed files with 1 additions and 1 deletions
|
|
@ -456,7 +456,7 @@ F32 GameBase::getUpdatePriority(CameraScopeQuery *camInfo, U32 updateMask, S32 u
|
||||||
|
|
||||||
// Weight by interest.
|
// Weight by interest.
|
||||||
F32 wInterest;
|
F32 wInterest;
|
||||||
if (getTypeMask() & (PlayerObjectType || VehicleObjectType ))
|
if (getTypeMask() & (PlayerObjectType | VehicleObjectType ))
|
||||||
wInterest = 0.75f;
|
wInterest = 0.75f;
|
||||||
else if (getTypeMask() & ProjectileObjectType)
|
else if (getTypeMask() & ProjectileObjectType)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue