diff --git a/src/k_kart.c b/src/k_kart.c index 920b236c0..e71bc53b4 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -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; diff --git a/src/k_kart.h b/src/k_kart.h index e980edfb1..47830ee78 100644 --- a/src/k_kart.h +++ b/src/k_kart.h @@ -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);