fix waila crash
This commit is contained in:
parent
ddfe708037
commit
9b32d51722
@ -1158,7 +1158,8 @@ stock void WAILA(int client, int iEntity)
|
||||
GetEntityClassname(iEntity, sClsName, sizeof(sClsName));
|
||||
GetEntityNetClass(iEntity, sNetClsName, sizeof(sNetClsName));
|
||||
GetEntPropString(iEntity, Prop_Data, "m_iName", sTargetname, sizeof(sTargetname));
|
||||
GetEntPropVector(iEntity, Prop_Send, "m_vecOrigin", fvecOrigin);
|
||||
if(HasEntProp(iEntity, Prop_Send, "m_vecOrigin"))
|
||||
GetEntPropVector(iEntity, Prop_Send, "m_vecOrigin", fvecOrigin);
|
||||
if(HasEntProp(iEntity, Prop_Send, "m_nModelIndex"))
|
||||
iEntityModelIdx = GetEntProp(iEntity, Prop_Send, "m_nModelIndex");
|
||||
if(HasEntProp(iEntity, Prop_Data, "m_iHammerID"))
|
||||
|
Loading…
Reference in New Issue
Block a user