* level data now reset to defaults after attempt to load invalid file
+2004-12-30
+ * level data now reset to defaults after attempt to load invalid file
+
2004-11-13
* added use of "editorsetup.conf" for different level sets
-#define COMPILE_DATE_STRING "[2004-12-06 03:08]"
+#define COMPILE_DATE_STRING "[2004-12-30 13:53]"
break;
}
+ /* if level file is invalid, restore level structure to default values */
+ if (level->no_valid_file)
+ setLevelInfoToDefaults(level);
+
if (level->game_engine_type == GAME_ENGINE_TYPE_UNKNOWN)
level->game_engine_type = GAME_ENGINE_TYPE_RND;