1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Detect mirror maps

This commit is contained in:
Ivan Savenko 2023-06-16 20:21:37 +03:00
parent 636b2ea856
commit 7c88bb7e4f

View File

@ -133,14 +133,16 @@ void CMapLoaderH3M::readHeader()
if(hotaVersion > 0)
{
reader->skipZero(1);
//TODO: HotA
bool isMirrorMap = reader->readBool();
bool isArenaMap = reader->readBool();
//TODO: HotA
if (isMirrorMap)
logGlobal->warn("Map '%s': Mirror maps are not yet supported!", mapName);
if (isArenaMap)
{
logGlobal->warn("Map '%s': Arena maps are not supported!", mapName);
}
}
if(hotaVersion > 1)
{