From a2382ac9a17600786f91cbbfd334e8308679fad0 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Tue, 13 Sep 2016 22:31:08 +0200 Subject: [PATCH] fixed bug when using '2nd_movement_tile' animations with tile size of 64 --- src/init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/init.c b/src/init.c index 4314580e..8dd33fdc 100644 --- a/src/init.c +++ b/src/init.c @@ -937,14 +937,12 @@ void InitElementGraphicInfo() (move_dir == MV_BIT_UP && !front_is_left_or_upper) || (move_dir == MV_BIT_RIGHT && front_is_left_or_upper) || (move_dir == MV_BIT_DOWN && front_is_left_or_upper))); - Bitmap *dummy; /* swap frontside and backside graphic tile coordinates, if needed */ if (swap_movement_tiles_always || swap_movement_tiles_autodetected) { /* get current (wrong) backside tile coordinates */ - getFixedGraphicSourceExt(graphic, 0, &dummy, - &src_x_back, &src_y_back, TRUE); + getGraphicSourceXY(graphic, 0, &src_x_back, &src_y_back, TRUE); /* set frontside tile coordinates to backside tile coordinates */ g->src_x = src_x_back; -- 2.34.1