1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Merge pull request #5964 from Laserlicht/levels

multilevel support
This commit is contained in:
Ivan Savenko
2025-08-14 11:03:42 +03:00
committed by GitHub
32 changed files with 283 additions and 186 deletions

View File

@@ -463,7 +463,7 @@ void CMapGenerator::addHeaderInfo()
m.version = EMapFormat::VCMI;
m.width = mapGenOptions.getWidth();
m.height = mapGenOptions.getHeight();
m.twoLevel = mapGenOptions.getHasTwoLevels();
m.mapLevels = mapGenOptions.getLevels();
m.name.appendLocalString(EMetaText::GENERAL_TXT, 740);
m.description = getMapDescription();
m.difficulty = EMapDifficulty::NORMAL;