Skip to content

Commit c7ec52c

Browse files
committed
Fix for occasional crash when pressing ESC during Moto Spectre sequence
1 parent 0f98d55 commit c7ec52c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

d3xp/Player.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8281,6 +8281,10 @@ bool idPlayer::UseFrob( idEntity *entity, const char *scriptname )
82818281
return false;
82828282
}
82838283

8284+
//BC 2-12-2026: fixed occasional crash with pressing ESC during moto spectre sequence
8285+
if (this == NULL)
8286+
return false;
8287+
82848288
if (this->viewlookActive)
82858289
return false;
82868290

0 commit comments

Comments
 (0)