added using headless mode (no window) when converting levels
[rocksndiamonds.git] / src / init.c
index 8d2e4a1bd247fd32114f3ea4181318140dbb42ef..97eaf2bf17ddfbb20f4f3d76c932626cf9a18978 100644 (file)
@@ -4981,6 +4981,8 @@ void Execute_Command(char *command)
       *str_ptr++ = '\0';                       /* terminate leveldir string */
       global.convert_level_nr = atoi(str_ptr); /* get level_nr value */
     }
+
+    program.headless = TRUE;
   }
   else if (strPrefix(command, "create images "))
   {