do not apply efx anchoring to move effects if a resize effect is not active

this is useless without an animator

fix T4810
This commit is contained in:
Mike Blumenkrantz 2016-11-01 11:01:43 -04:00
parent 193771d58c
commit cea551578c
1 changed files with 1 additions and 1 deletions

View File

@ -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