FixAngles: ignore func_rot_button's
This commit is contained in:
parent
7c0f5cc543
commit
02de957660
@ -26,6 +26,12 @@ public Action CheckAngles(Handle timer)
|
||||
if(!HasEntProp(entity, Prop_Send, "m_angRotation"))
|
||||
continue;
|
||||
|
||||
static char sClass[128];
|
||||
GetEntityClassname(entity, sClass, sizeof(sClass));
|
||||
|
||||
if(StrEqual(sClass, "func_rot_button"))
|
||||
continue;
|
||||
|
||||
static float aAngles[3];
|
||||
GetEntPropVector(entity, Prop_Send, "m_angRotation", aAngles);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user