X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fmisc.c;h=470fc057c171ed428d309b38b30ab0d80f6ff67a;hb=a00af4d54f7f23fe9ed4ae7e3244895c4acc0158;hp=4c1f5683c67175dc0641771d72ddee2bdeed337e;hpb=e14d20831f1abdbcfccd5c8afcaf715e3849f468;p=rocksndiamonds.git diff --git a/src/libgame/misc.c b/src/libgame/misc.c index 4c1f5683..470fc057 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -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;