fix freecam not resetting online

idk local player handling is fucking awful in kart
This commit is contained in:
Alug committed 2025-01-22 19:42:21 +01:00
1 parent fad3c2bbdf
commit ecd3ad40ae
1 file changed
+13 -1
+13 -1
View File
@@ -10774,7 +10774,19 @@ void P_SpawnPlayer(INT32 playernum)
{
if (!p->spectator)
{
camera[playernum].freecam = false;
if (playernum == consoleplayer)
camera[0].freecam = false;
else if (splitscreen)
{
for (i = 1; i <= splitscreen; i++)
{
if (playernum == displayplayers[i])
{
camera[i].freecam = false;
break;
}
}
}
}
}
}