mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
umapinfo: fix nextsecret inconsistencies (#520)
This commit is contained in:
parent
59d0ea640e
commit
e55ef38c91
@ -2386,7 +2386,7 @@ void G_WorldDone(void)
|
||||
|
||||
return;
|
||||
}
|
||||
else if (gamemapinfo->endpic[0] && (strcmp(gamemapinfo->endpic, "-") != 0))
|
||||
else if (gamemapinfo->endpic[0] && gamemapinfo->endpic[0] != '-' && !secretexit)
|
||||
{
|
||||
// game ends without a status screen.
|
||||
gameaction = ga_victory;
|
||||
|
@ -542,7 +542,7 @@ static int ParseStandardProperty(u_scanner_t* s, mapentry_t *mape)
|
||||
status = ParseLumpName(s, mape->nextsecret);
|
||||
if (!G_ValidateMapName(mape->nextsecret, NULL, NULL))
|
||||
{
|
||||
U_Error(s, "Invalid map name %s", mape->nextmap);
|
||||
U_Error(s, "Invalid map name %s", mape->nextsecret);
|
||||
status = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user