diff --git a/source/core/rendering/scene/hw_drawinfo.cpp b/source/core/rendering/scene/hw_drawinfo.cpp index 97d623e51..6ef9dd4fc 100644 --- a/source/core/rendering/scene/hw_drawinfo.cpp +++ b/source/core/rendering/scene/hw_drawinfo.cpp @@ -281,10 +281,7 @@ void HWDrawInfo::DispatchSprites() auto actor = tspr->ownerActor; auto texid = tspr->spritetexture(); - if (actor == nullptr || tspr->scale.X == 0 || tspr->scale.Y == 0) - continue; - - if (!texid.isValid()) return; + if (actor == nullptr || tspr->scale.X == 0 || tspr->scale.Y == 0 || !texid.isValid()) continue; actor->spr.cstat2 |= CSTAT2_SPRITE_MAPPED;