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:
parent
636b2ea856
commit
7c88bb7e4f
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user