Save scenario: Disable all warnings in auto-generated file

master
Nicolas Hake 2018-07-24 14:20:09 +02:00
parent 4c5dfac952
commit 907c701fc6
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ global func SaveScenarioObjects(f, duplicate_objects)
obj_data = SaveScen_SetContainers(obj_data);
// Write header
FileWrite(f, "/* Automatically created objects file */\n\n");
FileWrite(f, "#warning disable\n\n");
// Declare static variables for objects that wish to have them
for (obj in objs)
{