hedgewars/uLand.pas
changeset 8266 927da572bcdc
parent 8182 7834c2519070
child 8330 aaefa587e277
child 8370 0c79946e96f8
--- a/hedgewars/uLand.pas	Fri Dec 07 11:05:17 2012 -0500
+++ b/hedgewars/uLand.pas	Fri Dec 07 16:03:53 2012 -0500
@@ -631,7 +631,7 @@
             if Land[y, x] <> 0 then
                 begin
                 inc(c);
-                if c > 1000 then // avoid accidental triggering
+                if c > (LAND_WIDTH div 2) then // avoid accidental triggering
                     begin
                     hasBorder:= true;
                     break;