X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=959063c86983af576b0f154c7b7e023a10c7deea;hp=08251c7827aab663227fff1aa2fc0a51e6a4abdf;hb=8cbda5e7107bab8f1c71447826c3d444b224def3;hpb=a2382ac9a17600786f91cbbfd334e8308679fad0 diff --git a/src/tools.c b/src/tools.c index 08251c78..959063c8 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4460,7 +4460,8 @@ unsigned int MoveDoor(unsigned int door_state) int sync_frame = kk_door * door_delay_value; int frame = getGraphicAnimationFrame(dpc->graphic, sync_frame); - getGraphicSource(dpc->graphic, frame, &bitmap, &g_src_x, &g_src_y); + getFixedGraphicSource(dpc->graphic, frame, &bitmap, + &g_src_x, &g_src_y); } // draw door panel