mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-25 02:31:12 +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 ||
|
!r_drawplayersprites ||
|
||||||
!camera->player ||
|
!camera->player ||
|
||||||
(player->cheats & CF_CHASECAM) ||
|
(player->cheats & CF_CHASECAM) ||
|
||||||
(r_deathcamera && camera->health <= 0))
|
(r_deathcamera && camera->health <= 0) ||
|
||||||
|
viewsector == nullptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!hudModelStep)
|
if (!hudModelStep)
|
||||||
|
|
Loading…
Reference in a new issue