From: Holger Schemel Date: Fri, 26 Apr 2024 14:55:26 +0000 (+0200) Subject: added missing code for new 3-state setup option type X-Git-Tag: 4.4.0.0-test-1~34 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=02627794672257c4f9e9225be2f8871e2ff4711b;p=rocksndiamonds.git added missing code for new 3-state setup option type --- diff --git a/src/libgame/misc.c b/src/libgame/misc.c index af2ac9bc..47cabacc 100644 --- a/src/libgame/misc.c +++ b/src/libgame/misc.c @@ -2967,6 +2967,8 @@ int get_switch3_from_string(char *s) result = TRUE; else if (strEqual(s_lower, "auto")) result = STATE_AUTO; + else if (strEqual(s_lower, "ask")) + result = STATE_ASK; free(s_lower);