Fixed TF2_RemoveCondition not always removing conditions (bug 4981, r=asherkin).
This commit is contained in:
parent
3ab81c764d
commit
9ec3f1b89d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user