M_PrepeareTimeAttack: Match numlap count check behaviour for presence of best lap support

This commit is contained in:
toaster 2023-01-28 21:55:14 +00:00
parent f2a4392475
commit 6b85a755eb

View file

@ -216,7 +216,7 @@ void M_PrepareTimeAttack(INT32 choice)
PLAY_TAReplayGuest[taguest_bestlap].status =
PLAY_TAGhosts[taghost_bestlap].status = IT_DISABLED;
if ((gametypes[levellist.newgametype]->rules & GTR_CIRCUIT)
&& (mapheaderinfo[levellist.choosemap]->numlaps > 1)
&& (mapheaderinfo[levellist.choosemap]->numlaps != 1)
&& FIL_FileExists(va("%s-%s-lap-best.lmp", gpath, cv_skin[0].string)))
{
PLAY_TAReplay[tareplay_bestlap].status = IT_STRING|IT_CALL;