Sprite: Don't draw when opacity == 0
This commit is contained in:
parent
648684e4aa
commit
6e3b1d9466
|
@ -322,6 +322,9 @@ void Sprite::draw()
|
|||
if (p->bitmap->isDisposed())
|
||||
return;
|
||||
|
||||
if (!p->opacity)
|
||||
return;
|
||||
|
||||
if (emptyFlashFlag)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue