[Structs] Use binary left shift in enum
This commit is contained in:
parent
725c08afeb
commit
0d530ef36e
@ -298,24 +298,24 @@ namespace Game
|
||||
|
||||
enum
|
||||
{
|
||||
FL_GODMODE = 0x1,
|
||||
FL_DEMI_GODMODE = 0x2,
|
||||
FL_NOTARGET = 0x4,
|
||||
FL_NO_KNOCKBACK = 0x8,
|
||||
FL_NO_RADIUS_DAMAGE = 0x10,
|
||||
FL_SUPPORTS_LINKTO = 0x1000,
|
||||
FL_NO_AUTO_ANIM_UPDATE = 0x2000,
|
||||
FL_GRENADE_TOUCH_DAMAGE = 0x4000,
|
||||
FL_STABLE_MISSILES = 0x20000,
|
||||
FL_REPEAT_ANIM_UPDATE = 0x40000,
|
||||
FL_VEHICLE_TARGET = 0x80000,
|
||||
FL_GROUND_ENT = 0x100000,
|
||||
FL_CURSOR_HINT = 0x200000,
|
||||
FL_MISSILE_ATTRACTOR = 0x800000,
|
||||
FL_WEAPON_BEING_GRABBED = 0x1000000,
|
||||
FL_DELETE = 0x2000000,
|
||||
FL_BOUNCE = 0x4000000,
|
||||
FL_MOVER_SLIDE = 0x8000000
|
||||
FL_GODMODE = 1 << 0,
|
||||
FL_DEMI_GODMODE = 1 << 1,
|
||||
FL_NOTARGET = 1 << 2,
|
||||
FL_NO_KNOCKBACK = 1 << 3,
|
||||
FL_NO_RADIUS_DAMAGE = 1 << 4,
|
||||
FL_SUPPORTS_LINKTO = 1 << 12,
|
||||
FL_NO_AUTO_ANIM_UPDATE = 1 << 13,
|
||||
FL_GRENADE_TOUCH_DAMAGE = 1 << 14,
|
||||
FL_STABLE_MISSILES = 1 << 17,
|
||||
FL_REPEAT_ANIM_UPDATE = 1 << 18,
|
||||
FL_VEHICLE_TARGET = 1 << 19,
|
||||
FL_GROUND_ENT = 1 << 20,
|
||||
FL_CURSOR_HINT = 1 << 21,
|
||||
FL_MISSILE_ATTRACTOR = 1 << 23,
|
||||
FL_WEAPON_BEING_GRABBED = 1 << 24,
|
||||
FL_DELETE = 1 << 25,
|
||||
FL_BOUNCE = 1 << 26,
|
||||
FL_MOVER_SLIDE = 1 << 27
|
||||
};
|
||||
|
||||
enum ClassNum : unsigned int
|
||||
|
Loading…
Reference in New Issue
Block a user