mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Good catch
This commit is contained in:
parent
344accbfed
commit
6c003dc7d0
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,7 @@ static void K_KartItemRoulette(player_t *player, ticcmd_t *cmd)
|
||||||
{
|
{
|
||||||
SINT8 wantedpos = (bestbumper-player->kartstuff[k_bumper]); // 0 is the best player's bumper count, 1 is a bumper below best, 2 is two bumpers below, etc
|
SINT8 wantedpos = (bestbumper-player->kartstuff[k_bumper]); // 0 is the best player's bumper count, 1 is a bumper below best, 2 is two bumpers below, etc
|
||||||
if (K_IsPlayerWanted(player))
|
if (K_IsPlayerWanted(player))
|
||||||
wantedpos--;
|
wantedpos++;
|
||||||
if (wantedpos > 4) // Don't run off into karma items
|
if (wantedpos > 4) // Don't run off into karma items
|
||||||
wantedpos = 4;
|
wantedpos = 4;
|
||||||
if (wantedpos < 0) // Don't go below somehow
|
if (wantedpos < 0) // Don't go below somehow
|
||||||
|
|
Loading…
Reference in a new issue