mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Tools/mmaps_generator: Fix infinite loop
This commit is contained in:
@@ -89,7 +89,7 @@ namespace MMAP
|
||||
{
|
||||
mapFileName = Trinity::StringFormat("maps/{:04}_{:02}_{:02}.map", parentMapId, tileY, tileX);
|
||||
mapFile.reset(fopen(mapFileName.c_str(), "rb"));
|
||||
parentMapId = vmapManager->getParentMapId(mapID);
|
||||
parentMapId = vmapManager->getParentMapId(parentMapId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user