mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add player pointer check in wall spike bounce
This commit is contained in:
parent
200e7b4014
commit
721d5630a1
1 changed files with 1 additions and 1 deletions
|
|
@ -1275,7 +1275,7 @@ boolean K_KartSolidBounce(mobj_t *bounceMobj, mobj_t *solidMobj)
|
|||
|
||||
if (solidMobj->type == MT_WALLSPIKE)
|
||||
{
|
||||
if (bounceMobj->hitlag)
|
||||
if (bounceMobj->player && bounceMobj->hitlag)
|
||||
{
|
||||
bounceMobj->player->justbumped = bumptime;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue