Updated TF2_GetPlayerConditionFlags to match Valve's current logic (bug 4726, r=fyren).
This commit is contained in:
parent
11daaac1b4
commit
3aeab98517
@ -390,7 +390,7 @@ stock TF2_RemoveAllWeapons(client)
|
|||||||
*/
|
*/
|
||||||
stock TF2_GetPlayerConditionFlags(client)
|
stock TF2_GetPlayerConditionFlags(client)
|
||||||
{
|
{
|
||||||
return GetEntProp(client, Prop_Send, "m_nPlayerCond");
|
return GetEntProp(client, Prop_Send, "m_nPlayerCond")|GetEntProp(client, Prop_Send, "_condition_bits");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user