hedgewars/uLand.pas
changeset 3287 4f7b57ed18b6
parent 3242 d8adb26ea6a9
child 3365 37ac593e9027
--- a/hedgewars/uLand.pas	Sat Apr 03 13:51:12 2010 +0000
+++ b/hedgewars/uLand.pas	Sat Apr 03 13:55:39 2010 +0000
@@ -1270,7 +1270,10 @@
 
 if (GameFlags and gfDisableGirders) <> 0 then hasGirders:= false;
 
-if ((GameFlags and gfForts) = 0) and (Pathz[ptMapCurrent] = '') then AddObjects;
+if ((GameFlags and gfForts) = 0)
+    and ((GameFlags and gfDisableLandObjects) = 0)
+    and (Pathz[ptMapCurrent] = '')
+    then AddObjects;
 
 FreeLandObjects;