# HG changeset patch
# User unc0rr
# Date 1354048050 -14400
# Node ID cffa2c8275e093fb648586b91103c8cd9cecc8fe
# Parent  814cc5cf0b6697a08f2f650368c7c88bebbdd190
Remove limit on hedgehogs number

diff -r 814cc5cf0b66 -r cffa2c8275e0 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);