mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-03 15:01:28 +00:00
Fix bootmap not resetting properly after reload
This commit is contained in:
parent
22ce859e65
commit
0b2202e5cb
2 changed files with 1 additions and 2 deletions
|
@ -3549,8 +3549,6 @@ void readmaincfg(MYFILE *f)
|
||||||
char *tmp;
|
char *tmp;
|
||||||
INT32 value;
|
INT32 value;
|
||||||
|
|
||||||
bootmap = 0; // reset bootmap so we don't warp to the wrong map if another maincfg had set this before
|
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (myfgets(s, MAXLINELEN, f))
|
if (myfgets(s, MAXLINELEN, f))
|
||||||
|
|
|
@ -196,6 +196,7 @@ static void DEH_LoadDehackedFile(MYFILE *f, boolean mainfile)
|
||||||
|
|
||||||
deh_num_warning = 0;
|
deh_num_warning = 0;
|
||||||
|
|
||||||
|
bootmap = 0;
|
||||||
gamedataadded = titlechanged = introchanged = false;
|
gamedataadded = titlechanged = introchanged = false;
|
||||||
|
|
||||||
// it doesn't test the version of SRB2 and version of dehacked file
|
// it doesn't test the version of SRB2 and version of dehacked file
|
||||||
|
|
Loading…
Reference in a new issue