Remove limit on hedgehogs number
authorunc0rr
Wed, 28 Nov 2012 00:27:30 +0400
changeset 8127 cffa2c8275e0
parent 8125 814cc5cf0b66
child 8129 98e4a60da2ca
Remove limit on hedgehogs number
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Mon Nov 26 11:34:54 2012 +0400
+++ b/hedgewars/uGears.pas	Wed Nov 28 00:27:30 2012 +0400
@@ -906,10 +906,6 @@
                     inc(Count)
                     end;
         end;
-    // unC0Rr, while it is true user can watch value on map screen, IMO this (and check above) should be enforced in UI
-    // - is there a good place to put values for the different widgets to check?  Right now they are kind of disconnected.
-    //it would be nice if divide teams, forts mode and hh per map could all be checked by the team widget, or maybe disable start button
-    TryDo(Count <= MaxHedgehogs, 'Too many hedgehogs for this map! (max # is ' + inttostr(MaxHedgehogs) + ')', true);
     while (Count > 0) do
         begin
         i:= GetRandom(Count);