mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 19:41:29 +00:00
Strip items when using kartgiveitem
Fixes some annoyances I have when using this command
This commit is contained in:
parent
e2b2b7785c
commit
fa343d4ecd
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]);
|
||||
players[playernum].itemroulette = 0;
|
||||
|
||||
players[playernum].itemtype = item;
|
||||
players[playernum].itemamount = amt;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue