mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-23 22:11:01 +00:00
Merge branch 'nullplayerslopelaunch' into 'master'
Fix slope launch with NULL player causing SIGSEGV. See merge request STJr/SRB2Internal!595
This commit is contained in:
commit
0dd9a3a58b
1 changed files with 1 additions and 1 deletions
|
|
@ -1997,7 +1997,7 @@ void P_XYMovement(mobj_t *mo)
|
|||
{
|
||||
mo->momz = transfermomz;
|
||||
mo->standingslope = NULL;
|
||||
if (player->pflags & PF_SPINNING)
|
||||
if (player && (player->pflags & PF_SPINNING))
|
||||
player->pflags |= PF_THOKKED;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue