mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
K_StripItems(&players[playernum]);
|
||||||
|
players[playernum].itemroulette = 0;
|
||||||
|
|
||||||
players[playernum].itemtype = item;
|
players[playernum].itemtype = item;
|
||||||
players[playernum].itemamount = amt;
|
players[playernum].itemamount = amt;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue