X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fanim.c;h=0a278aa35cb36a97983be9ea1cc7b62934bb3799;hb=1c9456dab9709209a2462afe72c65373a1294de5;hp=b6ee0b933cb1b12307578c73fe3b2b18eb705825;hpb=9274b9677563b997d6521b6c2c700ce30847cdfe;p=rocksndiamonds.git diff --git a/src/anim.c b/src/anim.c index b6ee0b93..0a278aa3 100644 --- a/src/anim.c +++ b/src/anim.c @@ -14,6 +14,8 @@ #include "anim.h" #include "main.h" #include "tools.h" +#include "events.h" +#include "screens.h" /* values for global toon animation definition */ @@ -1451,7 +1453,8 @@ static boolean DoGlobalAnim_EventAction(struct GlobalAnimPartControlInfo *part) return FALSE; boolean action_executed = (DoGadgetAction(anim_event_action) || - DoScreenAction(anim_event_action)); + DoScreenAction(anim_event_action) || + DoKeysymAction(anim_event_action)); // check if further actions are allowed to be executed if (part->control_info.style & STYLE_MULTIPLE_ACTIONS)