Updated TF2_GetPlayerConditionFlags to match Valve's current logic (bug 4726, r=fyren).

This commit is contained in:
Nicholas Hastings 2010-12-03 17:14:00 -05:00
parent 11daaac1b4
commit 3aeab98517

View File

@ -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");
} }
/** /**