X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fmisc.c;h=ff86123df0eb47d240a8c19997724dd73a99b28c;hb=2b783a2b7321f4a8d0b576a5e9a530c6ef320540;hp=c34cddd322cf7a1294ee33c074e73f736327e2c9;hpb=d5b4672f14a32620a01d18d439bee266b11233f1;p=rocksndiamonds.git diff --git a/src/libgame/misc.c b/src/libgame/misc.c index c34cddd3..ff86123d 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -2705,6 +2705,9 @@ int get_parameter_value(char *value_raw, char *suffix, int type) string_has_parameter(value, "all") ? ANIM_ALL : ANIM_DEFAULT); + if (string_has_parameter(value, "once")) + result |= ANIM_ONCE; + if (string_has_parameter(value, "reverse")) result |= ANIM_REVERSE;