Ivan Savenko пре 2 година
родитељ
комит
7c88bb7e4f
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      lib/mapping/MapFormatH3M.cpp

+ 6 - 4
lib/mapping/MapFormatH3M.cpp

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