projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3e2f7
)
fixed bug with not recognizing ".init_event_action" for global animations
author
Holger Schemel
<info@artsoft.org>
Sat, 23 Mar 2019 21:16:37 +0000
(22:16 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 23 Mar 2019 21:16:37 +0000
(22:16 +0100)
src/anim.c
patch
|
blob
|
history
diff --git
a/src/anim.c
b/src/anim.c
index eefb5a1dba076afd59842c4f05459dec1ab1e465..a531ceb84548eeec6059fa5ecea9d00100f01318 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1635,7
+1635,9
@@
static void DoAnimationExt(void)
static boolean DoGlobalAnim_EventAction(struct GlobalAnimPartControlInfo *part)
{
- int anim_event_action = part->control_info.anim_event_action;
+ int anim_event_action = (part->init_event_state ?
+ part->control_info.init_event_action :
+ part->control_info.anim_event_action);
if (anim_event_action == -1)
return FALSE;