Graphics: Transition without previous freeze is a noop
This commit is contained in:
parent
4baf7b5a5a
commit
3968ebb538
|
@ -600,6 +600,9 @@ void Graphics::transition(int duration,
|
||||||
const char *filename,
|
const char *filename,
|
||||||
int vague)
|
int vague)
|
||||||
{
|
{
|
||||||
|
if (!p->frozen)
|
||||||
|
return;
|
||||||
|
|
||||||
vague = clamp(vague, 0, 512);
|
vague = clamp(vague, 0, 512);
|
||||||
Bitmap *transMap = filename ? new Bitmap(filename) : 0;
|
Bitmap *transMap = filename ? new Bitmap(filename) : 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue