From cb2ab91ea5c8da53b95536ed415cff9dcb837554 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 1 Nov 2016 11:01:43 -0400 Subject: [PATCH] do not apply efx anchoring to move effects if a resize effect is not active this is useless without an animator fix T4810 --- src/bin/efx/efx_resize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/efx/efx_resize.c b/src/bin/efx/efx_resize.c index ee0750576..33a1a0df2 100644 --- a/src/bin/efx/efx_resize.c +++ b/src/bin/efx/efx_resize.c @@ -124,7 +124,7 @@ _e_efx_resize_adjust(E_EFX *e, int *ax, int *ay) E_Efx_Resize_Data *erd = e->resize_data; int x, y, w, h; - if (!erd) return; + if ((!erd) || (!erd->anim)) return; if (e->move_data) x = e->x, y = e->y; else