mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- Blood: Add nullptr check to OperatePath()
to fix crash in Eviction's sgarage.map.
This commit is contained in:
parent
bc6dd4ae3e
commit
aee4388a03
1 changed files with 1 additions and 1 deletions
|
@ -1572,7 +1572,7 @@ void OperatePath(sectortype* pSector, EVENT event)
|
|||
DBloodActor* actor;
|
||||
assert(pSector);
|
||||
auto pXSector = &pSector->xs();
|
||||
if (!pXSector->marker0) return;
|
||||
if (!pXSector->marker0 || !pXSector->marker1) return;
|
||||
auto marker0 = pXSector->marker0;
|
||||
auto marker1 = pXSector->marker1;
|
||||
int nId = marker1->xspr.data2;
|
||||
|
|
Loading…
Reference in a new issue