Fixed TF2_RemoveCondition not always removing conditions (bug 4981, r=asherkin).

This commit is contained in:
Nicholas Hastings 2011-06-26 21:00:03 -04:00
parent 3ab81c764d
commit 9ec3f1b89d

View File

@ -300,7 +300,7 @@ cell_t TF2_RemoveCondition(IPluginContext *pContext, const cell_t *params)
vptr += sizeof(void *);
*(int *)vptr = params[2];
vptr += sizeof(int);
*(bool *)vptr = false;
*(bool *)vptr = true;
pWrapper->Execute(vstk, NULL);