Repair D_StartTitle component of netgame title fallthrough prevention

This commit is contained in:
toaster 2022-09-21 19:22:05 +01:00 committed by GenericHeroGuy
parent 95b98e4147
commit 18fdd8fa9a

View file

@ -986,12 +986,12 @@ void D_StartTitle(void)
if (server)
{
INT16 mapnum = G_GetFirstMapOfGametype(gametype)+1;
i = G_GetFirstMapOfGametype(gametype)+1;
if (i > nummapheaders)
I_Error("D_StartTitle: No valid map ID found!?");
COM_BufAddText(va("map %s\n", G_BuildMapName(mapnum)));
COM_BufAddText(va("map %s\n", G_BuildMapName(i)));
}
return;