1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

fixed else statement

This commit is contained in:
KroArtem
2014-11-20 15:14:16 +03:00
parent 82b278307f
commit 305ce5b53d

View File

@@ -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;
}