Fix crash when spawning a BOT_2PAI on a 2D map

This commit is contained in:
Gustaf Alhäll 2024-12-01 16:19:13 +01:00
parent c4dbf42ded
commit e7e7a5c472

View file

@ -7645,7 +7645,6 @@ static void P_InitCamera(void)
CV_SetValue(&cv_analog[1], 0);
displayplayer = consoleplayer; // Start with your OWN view, please!
}
if (twodlevel)
{
@ -7660,6 +7659,7 @@ static void P_InitCamera(void)
if ((splitscreen && cv_useranalog[1].value) || botingame)
CV_SetValue(&cv_analog[1], true);
}
}
}
static void P_RunSpecialStageWipe(void)