From 0e2c16077f04479625b1612b19047332026433c7 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 23 Mar 2019 22:18:10 +0100 Subject: [PATCH] renamed variable --- src/anim.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/anim.c b/src/anim.c index a531ceb8..ff44369c 100644 --- a/src/anim.c +++ b/src/anim.c @@ -1635,14 +1635,14 @@ static void DoAnimationExt(void) static boolean DoGlobalAnim_EventAction(struct GlobalAnimPartControlInfo *part) { - int anim_event_action = (part->init_event_state ? - part->control_info.init_event_action : - part->control_info.anim_event_action); + int event_action = (part->init_event_state ? + part->control_info.init_event_action : + part->control_info.anim_event_action); - if (anim_event_action == -1) + if (event_action == ANIM_EVENT_ACTION_NONE) return FALSE; - PushUserEvent(USEREVENT_ANIM_EVENT_ACTION, anim_event_action, 0); + PushUserEvent(USEREVENT_ANIM_EVENT_ACTION, event_action, 0); // check if further actions are allowed to be executed if (part->control_info.style & STYLE_MULTIPLE_ACTIONS) -- 2.34.1