forger P_IsLocalPlayer exists

This commit is contained in:
Alug committed 2025-03-21 15:56:10 +01:00
1 parent caaf218dd4
commit bbe28d6d8f
1 file changed
+1 -1
+1 -1
View File
@@ -11063,7 +11063,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;
}