use const for player losing

This commit is contained in:
NepDisk 2025-10-16 13:53:31 -04:00
parent 76257fed20
commit 7fd49282d4
2 changed files with 2 additions and 2 deletions

View file

@ -415,7 +415,7 @@ void K_RegisterKartStuff(void)
//}
boolean K_IsPlayerLosing(player_t *player)
boolean K_IsPlayerLosing(const player_t *player)
{
INT32 winningpos = 1;
UINT8 i, pcount = 0;

View file

@ -191,7 +191,7 @@ void K_RegisterKartStuff(void);
void K_TimerInit(void);
UINT32 K_GetPlayerDontDrawFlag(player_t *player);
boolean K_IsPlayerLosing(player_t *player);
boolean K_IsPlayerLosing(const player_t *player);
fixed_t K_GetKartGameSpeedScalar(SINT8 value);
fixed_t K_GetMobjWeight(mobj_t *mobj, mobj_t *against);