mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-01 05:20:43 +00:00
- added NULL check where it can crash when noclipping.
This commit is contained in:
parent
a6bf98399c
commit
ccbe472444
1 changed files with 1 additions and 1 deletions
|
@ -6737,7 +6737,7 @@ void DoPlayerRun(PLAYER* pp)
|
|||
return;
|
||||
}
|
||||
|
||||
if ((pp->cursector->extra & SECTFX_DYNAMIC_AREA))
|
||||
if ((pp->cursector && pp->cursector->extra & SECTFX_DYNAMIC_AREA))
|
||||
{
|
||||
pp->pos.Z = pp->loz - PLAYER_HEIGHTF;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue