No bumping when respawning

This commit is contained in:
TehRealSalt 2018-06-06 20:41:23 -04:00
parent adc1fa38f5
commit 7100db62ca
1 changed files with 4 additions and 0 deletions

View File

@ -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]))