- added missing nullptr check.

This commit is contained in:
Christoph Oelckers 2016-09-12 23:03:27 +02:00
parent 3778799f92
commit c593dda8f3
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ void GLSprite::Draw(int pass)
gl_RenderState.Apply();
FVector3 v[4];
if ((actor->renderflags & RF_SPRITETYPEMASK) == RF_FLATSPRITE)
if (actor != nullptr && (actor->renderflags & RF_SPRITETYPEMASK) == RF_FLATSPRITE)
{
}
else