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())
|
if (p->bitmap->isDisposed())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (!p->opacity)
|
||||||
|
return;
|
||||||
|
|
||||||
if (emptyFlashFlag)
|
if (emptyFlashFlag)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue