Permalink
Browse files

Save scenario: Disable all warnings in auto-generated file

  • Loading branch information...
isilkor committed Jul 24, 2018
1 parent 4c5dfac commit 907c701fc648351c268cdee6ebec8244c93bfe3c
Showing with 1 addition and 0 deletions.
  1. +1 −0 planet/System.ocg/SaveScenario.c
@@ -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)
{

0 comments on commit 907c701

Please sign in to comment.