1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

It is now possible to define game settings in rmg template

This commit is contained in:
Ivan Savenko
2024-09-04 18:18:10 +00:00
parent 8225eb454e
commit ff8d36c350
8 changed files with 40 additions and 5 deletions

View File

@ -455,6 +455,7 @@ void CMapGenerator::addHeaderInfo()
addPlayerInfo();
m.waterMap = (mapGenOptions.getWaterContent() != EWaterContent::EWaterContent::NONE);
m.banWaterContent();
m.overrideGameSettings(mapGenOptions.getMapTemplate()->getMapSettings());
}
int CMapGenerator::getNextMonlithIndex()