forger P_IsLocalPlayer exists

This commit is contained in:
Alug committed 2025-03-21 15:56:18 +01:00
1 parent 0af6703c08
commit dee640d32f
1 file changed
+1 -1
+1 -1
View File
@@ -10770,7 +10770,7 @@ static void K_drawInput(void)
INT32 hudforward = 0; // for the stick input display :chaosleep:
// this is horrid but we cant get actual input in replays so uhh
if (demo.playback || stplyr != &players[consoleplayer]) // yeah...........
if (demo.playback || !P_IsLocalPlayer(stplyr)) // yeah...........
{
hudforward = stplyr->kartstuff[k_throwdir] * KART_FULLTURN;
}