Procházet zdrojové kódy

fixed else statement

KroArtem před 11 roky
rodič
revize
305ce5b53d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      lib/rmg/CRmgTemplateZone.cpp

+ 1 - 1
lib/rmg/CRmgTemplateZone.cpp

@@ -2000,7 +2000,7 @@ void CRmgTemplateZone::addAllPossibleObjects (CMapGenerator* gen)
 			{
 				creaturesAmount = boost::math::round(creaturesAmount / 5) * 5;
 			}
-			else if (creaturesAmount <= 120)
+			else
 			{
 				creaturesAmount = boost::math::round(creaturesAmount / 10) * 10;
 			}