projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc7930
)
fixed bug caused by support for only eight global animations in the past
author
Holger Schemel
<info@artsoft.org>
Tue, 12 Dec 2023 11:20:53 +0000
(12:20 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 12 Dec 2023 11:20:53 +0000
(12:20 +0100)
src/init.c
patch
|
blob
|
history
diff --git
a/src/init.c
b/src/init.c
index f9e46b4f9898979819c296f9c8882c99bb039d00..af11e4c7a5242329fcab1d5c112ddf05c50b90bb 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-1649,7
+1649,7
@@
static void set_graphic_parameters_ext(int graphic, int *parameter,
g->draw_yoffset = parameter[GFX_ARG_DRAW_YOFFSET];
// use a different default value for global animations and toons
- if ((graphic >= IMG_GFX_GLOBAL_ANIM_1 && graphic <= IMG_GFX_GLOBAL_ANIM_
8
) ||
+ if ((graphic >= IMG_GFX_GLOBAL_ANIM_1 && graphic <= IMG_GFX_GLOBAL_ANIM_
32
) ||
(graphic >= IMG_TOON_1 && graphic <= IMG_TOON_20))
g->draw_masked = TRUE;