mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Graphics: Transition without previous freeze is a noop
This commit is contained in:
parent
4baf7b5a5a
commit
3968ebb538
1 changed files with 3 additions and 0 deletions
|
|
@ -600,6 +600,9 @@ void Graphics::transition(int duration,
|
|||
const char *filename,
|
||||
int vague)
|
||||
{
|
||||
if (!p->frozen)
|
||||
return;
|
||||
|
||||
vague = clamp(vague, 0, 512);
|
||||
Bitmap *transMap = filename ? new Bitmap(filename) : 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue