1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Hardcoded feature: no random week/month effects

This commit is contained in:
Dydzio
2019-03-17 18:27:05 +01:00
parent 8b6316c8ee
commit 36cb9f11c4
5 changed files with 16 additions and 3 deletions

View File

@@ -1641,7 +1641,7 @@ void CGameHandler::newTurn()
n.specialWeek = NewTurn::DEITYOFFIRE;
n.creatureid = CreatureID::IMP;
}
else
else if(!VLC->modh->settings.NO_RANDOM_SPECIAL_WEEKS_AND_MONTHS)
{
int monthType = getRandomGenerator().nextInt(99);
if (newMonth) //new month