mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Remove redundancy
This commit is contained in:
parent
eca4bc63da
commit
447ee1a04c
2 changed files with 5 additions and 2 deletions
|
|
@ -1941,6 +1941,10 @@ boolean G_IsTitleCardAvailable(void)
|
||||||
if (gametyperules & GTR_NOTITLECARD)
|
if (gametyperules & GTR_NOTITLECARD)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// The current level has no name.
|
||||||
|
if (!mapheaderinfo[gamemap-1]->lvlttl[0])
|
||||||
|
return false;
|
||||||
|
|
||||||
// The title card is available.
|
// The title card is available.
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3684,8 +3684,7 @@ boolean P_LoadLevel(boolean fromnetsave)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// If so...
|
// If so...
|
||||||
if ((!(mapheaderinfo[gamemap-1]->levelflags & LF_NOTITLECARD)) && (*mapheaderinfo[gamemap-1]->lvlttl != '\0'))
|
G_PreLevelTitleCard();
|
||||||
G_PreLevelTitleCard();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue