projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f607a
)
removed redundant code
author
Holger Schemel
<info@artsoft.org>
Sun, 20 Aug 2023 21:22:10 +0000
(23:22 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 3 Sep 2023 20:59:58 +0000
(22:59 +0200)
src/anim.c
patch
|
blob
|
history
diff --git
a/src/anim.c
b/src/anim.c
index de94b17f88abb50a3a3fc41ce4e0c4e1c27accde..8b307ea4482f1c54d0a892ea4250b689cc04ec37 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1596,12
+1596,7
@@
static int HandleGlobalAnim_Part(struct GlobalAnimPartControlInfo *part,
part->init_event_state)
{
if (part->initial_anim_sync_frame > 0)
- {
- if (part->init_delay_counter > 0)
- part->initial_anim_sync_frame -= part->init_delay_counter;
- else
- part->initial_anim_sync_frame = anim_sync_frame;
- }
+ part->initial_anim_sync_frame = anim_sync_frame;
part->init_delay_counter = 1;
part->init_event_state = FALSE;