added missing code for new 3-state setup option type
[rocksndiamonds.git] / src / libgame / misc.c
index af2ac9bc4ef43b8315d89c80655132eb6f0a4043..47cabacc476a073364598267195b0442cf13dd86 100644 (file)
@@ -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);