mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-20 19:02:37 +00:00
No bumping when respawning
This commit is contained in:
parent
adc1fa38f5
commit
7100db62ca
1 changed files with 4 additions and 0 deletions
|
@ -726,6 +726,10 @@ void K_KartBouncing(mobj_t *mobj1, mobj_t *mobj2, boolean bounce, boolean solid)
|
|||
|| (mobj2->player && mobj2->player->playerstate != PST_LIVE))
|
||||
return;
|
||||
|
||||
if ((mobj1->player && mobj1->player->kartstuff[k_lakitu])
|
||||
|| (mobj2->player && mobj2->player->kartstuff[k_lakitu]))
|
||||
return;
|
||||
|
||||
// Don't bump if you've recently bumped
|
||||
if ((mobj1->player && mobj1->player->kartstuff[k_justbumped])
|
||||
|| (mobj2->player && mobj1->player->kartstuff[k_justbumped]))
|
||||
|
|
Loading…
Reference in a new issue