add comment about K_KartUpdatePosition

This commit is contained in:
alufolie91 committed 2026-02-25 17:43:08 +01:00
1 parent 93731888ca
commit 3196face09
1 file changed
+7
+7
View File
@@ -6257,6 +6257,13 @@ void K_KartUpdatePosition(player_t *player)
}
}
// the player should NOT be checked against themselves! lol
// otherwise prevcheck will effectively be halved
// sadly this stuff is exposed to lua and atleast one script uses those so we cant fix it
// oh well
//if (player == &players[i])
//continue;
const boolean isprevcheckpointi = mo->health == players[i].starpostnum;
const boolean isnextcheckpointi = mo->health == (players[i].starpostnum + 1);