From 3aeab98517158d1b317d864ab8cc9ae552c90455 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 3 Dec 2010 17:14:00 -0500 Subject: [PATCH] Updated TF2_GetPlayerConditionFlags to match Valve's current logic (bug 4726, r=fyren). --- plugins/include/tf2_stocks.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/tf2_stocks.inc b/plugins/include/tf2_stocks.inc index f68e2b85..477bb978 100644 --- a/plugins/include/tf2_stocks.inc +++ b/plugins/include/tf2_stocks.inc @@ -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"); } /**