mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-11 09:12:22 +00:00
Strip items when using kartgiveitem
Fixes some annoyances I have when using this command
This commit is contained in:
parent
e2b2b7785c
commit
fd7cadd566
1 changed files with 3 additions and 0 deletions
|
|
@ -5304,6 +5304,9 @@ static void Got_GiveItemcmd(UINT8 **cp, INT32 playernum)
|
|||
return;
|
||||
}
|
||||
|
||||
K_StripItems(&players[playernum]);
|
||||
player->itemroulette = 0;
|
||||
|
||||
players[playernum].itemtype = item;
|
||||
players[playernum].itemamount = amt;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue