hedgewars/uLandObjects.pas
changeset 3936 0b982d340633
parent 3764 eb91c02f2d84
child 3976 abaf741a4e21
--- a/hedgewars/uLandObjects.pas	Wed Oct 06 20:21:20 2010 -0400
+++ b/hedgewars/uLandObjects.pas	Thu Oct 07 16:02:28 2010 -0400
@@ -529,7 +529,7 @@
         i:=i+int;
     until (i>rightX-int);
     end;
-AddThemeObjects(ThemeObjects);
+if (GameFlags and gfDisableLandObjects) = 0 then AddThemeObjects(ThemeObjects);
 AddProgress();
 FreeRects();
 end;