mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
Sprite: Don't draw when opacity == 0
This commit is contained in:
parent
648684e4aa
commit
6e3b1d9466
1 changed files with 3 additions and 0 deletions
|
|
@ -322,6 +322,9 @@ void Sprite::draw()
|
|||
if (p->bitmap->isDisposed())
|
||||
return;
|
||||
|
||||
if (!p->opacity)
|
||||
return;
|
||||
|
||||
if (emptyFlashFlag)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue