diff --git a/src/k_grandprix.c b/src/k_grandprix.c index bb14edac6..740730c6f 100644 --- a/src/k_grandprix.c +++ b/src/k_grandprix.c @@ -581,7 +581,7 @@ void K_RetireBots(void) continue; } - bot = players[i]; + bot = &players[i]; if (bot->spectator) { diff --git a/src/k_grandprix.h b/src/k_grandprix.h index 552f75450..bd20d3894 100644 --- a/src/k_grandprix.h +++ b/src/k_grandprix.h @@ -106,13 +106,13 @@ void K_IncreaseBotDifficulty(player_t *bot); /*-------------------------------------------------- - void K_RetireBots(player_t *bot); + void K_RetireBots(void); Replaces PF_NOCONTEST bots, by refreshing their difficulty and changing their skin. --------------------------------------------------*/ -void K_RetireBots(player_t *bot); +void K_RetireBots(void); /*--------------------------------------------------