diff --git a/src/io/iomap.cpp b/src/io/iomap.cpp index d39988caa71..255cc4f9509 100644 --- a/src/io/iomap.cpp +++ b/src/io/iomap.cpp @@ -57,7 +57,7 @@ void IOMap::loadMap(Map* map, const Position &pos) { uint32_t majorVersionItems = stream.getU32(); stream.getU32(); // minorVersionItems - if (version > 2) { + if (version > 5) { throw IOMapException("Unknown OTBM version detected."); }