mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 22:00:50 +00:00
NextLevel for level headers can now take the special strings "Title" "Evaluation" or "Credits" in place of their usual numbers (optionally, that is)
This commit is contained in:
parent
0a0f16a001
commit
b043520411
1 changed files with 4 additions and 0 deletions
|
@ -1132,6 +1132,10 @@ static void readlevelheader(MYFILE *f, INT32 num)
|
||||||
}
|
}
|
||||||
else if (fastcmp(word, "NEXTLEVEL"))
|
else if (fastcmp(word, "NEXTLEVEL"))
|
||||||
{
|
{
|
||||||
|
if (fastcmp(word2, "TITLE")) i = 1100;
|
||||||
|
else if (fastcmp(word2, "EVALUATION")) i = 1101;
|
||||||
|
else if (fastcmp(word2, "CREDITS")) i = 1102;
|
||||||
|
else
|
||||||
// Support using the actual map name,
|
// Support using the actual map name,
|
||||||
// i.e., Nextlevel = AB, Nextlevel = FZ, etc.
|
// i.e., Nextlevel = AB, Nextlevel = FZ, etc.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue