mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-28 16:31:15 +00:00
Free the special map strings
This commit is contained in:
parent
4961a585a7
commit
b84383bd8d
1 changed files with 4 additions and 0 deletions
|
|
@ -2747,6 +2747,7 @@ void readmaincfg(MYFILE *f, boolean mainfile)
|
|||
}
|
||||
else if (fastcmp(word, "TITLEMAP"))
|
||||
{
|
||||
Z_Free(titlemap);
|
||||
titlemap = Z_StrDup(word2);
|
||||
titlechanged = true;
|
||||
}
|
||||
|
|
@ -2841,15 +2842,18 @@ void readmaincfg(MYFILE *f, boolean mainfile)
|
|||
}
|
||||
else if (fastcmp(word, "BOOTMAP"))
|
||||
{
|
||||
Z_Free(bootmap);
|
||||
bootmap = Z_StrDup(word2);
|
||||
//titlechanged = true;
|
||||
}
|
||||
else if (fastcmp(word, "TUTORIALMAP"))
|
||||
{
|
||||
Z_Free(tutorialmap);
|
||||
tutorialmap = Z_StrDup(word2);
|
||||
}
|
||||
else if (fastcmp(word, "PODIUMMAP"))
|
||||
{
|
||||
Z_Free(podiummap);
|
||||
podiummap = Z_StrDup(word2);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue