mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 18:22:02 +00:00
Fix crash
This commit is contained in:
parent
73a7bbf707
commit
d3c4f71d5b
1 changed files with 2 additions and 1 deletions
|
@ -322,7 +322,8 @@ void GLSceneDrawer::DrawPlayerSprites(sector_t * viewsector, bool hudModelStep)
|
|||
!r_drawplayersprites ||
|
||||
!camera->player ||
|
||||
(player->cheats & CF_CHASECAM) ||
|
||||
(r_deathcamera && camera->health <= 0))
|
||||
(r_deathcamera && camera->health <= 0) ||
|
||||
viewsector == nullptr)
|
||||
return;
|
||||
|
||||
if (!hudModelStep)
|
||||
|
|
Loading…
Reference in a new issue