mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-26 02:31:13 +00:00
- Duke: Fix nullptr issue in RR's processinput_r()
.
This commit is contained in:
parent
5ff7d45f7f
commit
eca3c29261
1 changed files with 1 additions and 1 deletions
|
@ -3944,7 +3944,7 @@ HORIZONLY:
|
|||
break;
|
||||
}
|
||||
|
||||
if (ud.clipping == 0 && p->cursector->ceilingz > (p->cursector->floorz - (12 << 8)))
|
||||
if (ud.clipping == 0 && (!p->cursector || (p->cursector && p->cursector->ceilingz > (p->cursector->floorz - (12 << 8)))))
|
||||
{
|
||||
quickkill(p);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue