mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-17 19:11:30 +00:00
Merge branch 'spectate-reset-items' into 'master'
Remove items from player when spectating Closes #230 See merge request KartKrew/Kart!617
This commit is contained in:
commit
d70a1d6c49
1 changed files with 2 additions and 0 deletions
|
|
@ -3543,6 +3543,8 @@ static void Got_Teamchange(UINT8 **cp, INT32 playernum)
|
|||
|
||||
if (players[playernum].mo)
|
||||
players[playernum].mo->health = 1;
|
||||
|
||||
K_StripItems(&players[playernum]);
|
||||
}
|
||||
|
||||
K_CheckBumpers(); // SRB2Kart
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue