added animation event by 'any' input (click anywhere, space, enter, escape)
[rocksndiamonds.git] / src / libgame / misc.c
index 4c1f5683c67175dc0641771d72ddee2bdeed337e..470fc057c171ed428d309b38b30ab0d80f6ff67a 100644 (file)
@@ -2859,6 +2859,9 @@ int get_parameter_value(char *value_raw, char *suffix, int type)
   {
     result = ANIM_EVENT_DEFAULT;
 
+    if (string_has_parameter(value, "any"))
+      result |= ANIM_EVENT_CLICK_ANY;
+
     if (string_has_parameter(value, "click"))
       result |= ANIM_EVENT_CLICK_SELF;