# HG changeset patch
# User unc0rr
# Date 1294858875 -10800
# Node ID 204d26924532b498704618a48c815326f4da1114
# Parent  e55e2b6f59b00b653de0615fbb1694fd995c4229
Doesn't work as expected

diff -r e55e2b6f59b0 -r 204d26924532 hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Mon Jan 10 19:15:12 2011 -0500
+++ b/hedgewars/uGears.pas	Wed Jan 12 22:01:15 2011 +0300
@@ -1096,7 +1096,7 @@
 
 i:= 0;
 Gear:= PGear(1);
-while (i < cLandMines) and (Gear <> nil) do
+while (i < cLandMines) and {(Gear <> nil)} do // disable this check until better solution found
     begin
     Gear:= AddGear(0, 0, gtMine, 0, _0, _0, 0);
     FindPlace(Gear, false, 0, LAND_WIDTH);
@@ -1105,7 +1105,7 @@
 
 i:= 0;
 Gear:= PGear(1);
-while (i < cExplosives) and (Gear <> nil) do
+while (i < cExplosives){ and (Gear <> nil)} do
     begin
     Gear:= AddGear(0, 0, gtExplosives, 0, _0, _0, 0);
     FindPlace(Gear, false, 0, LAND_WIDTH);