Make sure clear_conditionsets feeds in 1 to MAXCONDITIONSETS instead of 0 to MAXCONDITIONSETS-1, so that M_ClearConditionSet can use them all properly AND clear all condition sets properly.

Apparently the mistake also caused myargc to be cleared in Linux64 SDL2 (as pointed out by that ilag11111 guy on GitHub), so that should be fixed now too.
This commit is contained in:
Alam Arias 2015-01-06 13:13:25 +00:00 committed by Alam Ed Arias
parent 7535bb261f
commit 8bee6bef59
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ static void clear_conditionsets(void)
{
UINT8 i;
for (i = 0; i < MAXCONDITIONSETS; ++i)
M_ClearConditionSet(i);
M_ClearConditionSet(i+1);
}
static void clear_levels(void)