From 8f0c442024917ece71e6477995759f540be70eea Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 26 Dec 2012 12:27:24 -0500 Subject: [PATCH] Fixed TF2_RemoveCondition being called for added conds instead of removed conds. --- extensions/tf2/conditions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tf2/conditions.cpp b/extensions/tf2/conditions.cpp index 523f1907..61b1693a 100644 --- a/extensions/tf2/conditions.cpp +++ b/extensions/tf2/conditions.cpp @@ -114,7 +114,7 @@ void Conditions_OnGameFrame(bool simulating) g_addCondForward->Execute(NULL, NULL); } - for (j = 0; (j = addedconds->FindNextSetBit( j )) != -1; ++j) + for (j = 0; (j = removedconds->FindNextSetBit( j )) != -1; ++j) { g_removeCondForward->PushCell(i); g_removeCondForward->PushCell(j);