Don't initialize waypoints in GS_TITLESCREEN

Fixes error logs when titlemap loads
This commit is contained in:
Eidolon 2024-03-01 18:43:00 -06:00 committed by NepDisk
parent 39185c1c7c
commit 5c1b15aeb6

View file

@ -7771,7 +7771,7 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
K_ClearWaypoints();
// Load the waypoints please!
if (gametyperules & GTR_CIRCUIT)
if (gametyperules & GTR_CIRCUIT && gamestate != GS_TITLESCREEN)
{
if (numbosswaypoints == 0)
{