X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=8dd33fdcdcfbd87966dfe62902d38318d3fc247c;hb=8cbda5e7107bab8f1c71447826c3d444b224def3;hp=4314580ed26c259266d131275d902e1bb0295a4d;hpb=3f878a4e9c28dbb09ab2ed13e972aa2f77ef236e;p=rocksndiamonds.git 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;