added using headless mode (no window) when converting levels 4.0.0.2
authorHolger Schemel <info@artsoft.org>
Sat, 25 Feb 2017 18:51:04 +0000 (19:51 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 25 Feb 2017 18:51:15 +0000 (19:51 +0100)
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 "))
   {