- set currentLevel in SW

This commit is contained in:
Christoph Oelckers 2019-12-11 02:30:34 +01:00
parent 875678f20b
commit 3f524d7026

View file

@ -654,7 +654,8 @@ bool LoadLevel(const char *filename)
Printf("Level not found: %s", filename); Printf("Level not found: %s", filename);
return false; return false;
} }
STAT_NewLevel(filename); currentLevel = &mapList[Level];
STAT_NewLevel(currentLevel->labelName);
return true; return true;
} }