Updated TF2_GetPlayerConditionFlags to match Valve's current logic.
Updated TF2_GetPlayerConditionFlags to match Valve's current logic.
1.1 --- a/plugins/include/tf2_stocks.inc Tue Nov 30 13:09:30 2010 -0500
1.2 +++ b/plugins/include/tf2_stocks.inc Fri Dec 03 17:12:06 2010 -0500
1.3 @@ -390,7 +390,7 @@
1.4 */
1.5 stock TF2_GetPlayerConditionFlags(client)
1.6 {
1.7 - return GetEntProp(client, Prop_Send, "m_nPlayerCond");
1.8 + return GetEntProp(client, Prop_Send, "m_nPlayerCond")|GetEntProp(client, Prop_Send, "_condition_bits");
1.9 }
1.10
1.11 /**