projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2382ac
)
fixed bug with using game tile size scaling factor for door graphics
author
Holger Schemel
<info@artsoft.org>
Wed, 14 Sep 2016 13:24:34 +0000
(15:24 +0200)
committer
Holger Schemel
<info@artsoft.org>
Wed, 14 Sep 2016 13:24:34 +0000
(15:24 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 08251c7827aab663227fff1aa2fc0a51e6a4abdf..959063c86983af576b0f154c7b7e023a10c7deea 100644
(file)
--- 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