Updated TF2_GetPlayerConditionFlags to match Valve's current logic.

This commit is contained in:
Nicholas Hastings 2010-12-03 17:12:06 -05:00
parent 5b806a467b
commit 1f187d24c8

View File

@ -390,7 +390,7 @@ stock TF2_RemoveAllWeapons(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");
}
/**