Updated TF2_GetPlayerConditionFlags to match Valve's current logic.
authorNicholas Hastings <skamonkey@gmail.com>
Fri Dec 03 17:12:06 2010 -0500 (2010-12-03)
changeset 3163cc63bf88ef51
parent 3162 d8f90b56529f
child 3164 daa30761cda7
Updated TF2_GetPlayerConditionFlags to match Valve's current logic.
plugins/include/tf2_stocks.inc
     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  /**