forked from Mirrors/openclonk
Save scenario: Disable all warnings in auto-generated file
parent
4c5dfac952
commit
907c701fc6
|
@ -77,6 +77,7 @@ global func SaveScenarioObjects(f, duplicate_objects)
|
||||||
obj_data = SaveScen_SetContainers(obj_data);
|
obj_data = SaveScen_SetContainers(obj_data);
|
||||||
// Write header
|
// Write header
|
||||||
FileWrite(f, "/* Automatically created objects file */\n\n");
|
FileWrite(f, "/* Automatically created objects file */\n\n");
|
||||||
|
FileWrite(f, "#warning disable\n\n");
|
||||||
// Declare static variables for objects that wish to have them
|
// Declare static variables for objects that wish to have them
|
||||||
for (obj in objs)
|
for (obj in objs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue