mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
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:
parent
7535bb261f
commit
8bee6bef59
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ static void clear_conditionsets(void)
|
||||||
{
|
{
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
for (i = 0; i < MAXCONDITIONSETS; ++i)
|
for (i = 0; i < MAXCONDITIONSETS; ++i)
|
||||||
M_ClearConditionSet(i);
|
M_ClearConditionSet(i+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void clear_levels(void)
|
static void clear_levels(void)
|
||||||
|
|
Loading…
Reference in a new issue