mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix slope launch with NULL player causing SIGSEGV.
This commit is contained in:
parent
16703a6752
commit
415e172059
1 changed files with 1 additions and 1 deletions
|
|
@ -1997,7 +1997,7 @@ void P_XYMovement(mobj_t *mo)
|
||||||
{
|
{
|
||||||
mo->momz = transfermomz;
|
mo->momz = transfermomz;
|
||||||
mo->standingslope = NULL;
|
mo->standingslope = NULL;
|
||||||
if (player->pflags & PF_SPINNING)
|
if (player && (player->pflags & PF_SPINNING))
|
||||||
player->pflags |= PF_THOKKED;
|
player->pflags |= PF_THOKKED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue