hedgewars/uLand.pas
changeset 2891 e1f902eb0cfe
parent 2866 450ca0afcd58
child 2905 f3c79f7193a9
--- a/hedgewars/uLand.pas	Sun Feb 28 17:56:21 2010 +0000
+++ b/hedgewars/uLand.pas	Mon Mar 01 00:02:55 2010 +0000
@@ -760,7 +760,7 @@
 var x, y, w, c: Longword;
 begin
 hasBorder:= false;
-hasGirders:= true;
+
 LoadThemeConfig;
 
 if (GameFlags and gfForts) = 0 then
@@ -822,6 +822,8 @@
 		end;
 	end;
 
+if (GameFlags and gfDisableGirders) <> 0 then hasGirders:= false;
+
 if ((GameFlags and gfForts) = 0) and (Pathz[ptMapCurrent] = '') then AddObjects;
 
 UpdateLandTexture(0, LAND_WIDTH, 0, LAND_HEIGHT);