From: Holger Schemel Date: Wed, 14 Sep 2016 13:24:34 +0000 (+0200) Subject: fixed bug with using game tile size scaling factor for door graphics X-Git-Tag: 4.0.0.0~44 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8cbda5e7107bab8f1c71447826c3d444b224def3;p=rocksndiamonds.git fixed bug with using game tile size scaling factor for door graphics --- 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