mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 20:00:49 +00:00
- Blood: Add nullptr check for actor2
in ProcessTouchObjects()
.
* Fixes crash during testing of NHIS.
This commit is contained in:
parent
52e29d4112
commit
9432f9ec90
1 changed files with 1 additions and 1 deletions
|
@ -4560,7 +4560,7 @@ static void ProcessTouchObjects(DBloodActor* actor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (actor2->hasX())
|
if (actor2 && actor2->hasX())
|
||||||
{
|
{
|
||||||
XSPRITE* pXHSprite = &actor2->x();
|
XSPRITE* pXHSprite = &actor2->x();
|
||||||
if (pXHSprite->Touch && !pXHSprite->isTriggered && (!pXHSprite->DudeLockout || actor->IsPlayerActor()))
|
if (pXHSprite->Touch && !pXHSprite->isTriggered && (!pXHSprite->DudeLockout || actor->IsPlayerActor()))
|
||||||
|
|
Loading…
Reference in a new issue