Sprite: Don't draw when opacity == 0

This commit is contained in:
Jonas Kulla 2013-12-05 18:27:53 +01:00
parent 648684e4aa
commit 6e3b1d9466
1 changed files with 3 additions and 0 deletions

View File

@ -322,6 +322,9 @@ void Sprite::draw()
if (p->bitmap->isDisposed()) if (p->bitmap->isDisposed())
return; return;
if (!p->opacity)
return;
if (emptyFlashFlag) if (emptyFlashFlag)
return; return;