mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Tools/Extractor: Fix vmaps extractor crash on linux
This commit is contained in:
@@ -400,7 +400,6 @@ void ParsMapFiles()
|
||||
char fn[512];
|
||||
char id[10];
|
||||
char* name = map_ids[mapId].name;
|
||||
sprintf(id, "%03u", itr->first);
|
||||
sprintf(fn, "World\\Maps\\%s\\%s.wdt", name, name);
|
||||
itr = wdts.emplace(std::piecewise_construct, std::forward_as_tuple(mapId), std::forward_as_tuple(fn, name, maps_that_are_parents.count(mapId) > 0)).first;
|
||||
if (!itr->second.init(id, mapId))
|
||||
|
||||
Reference in New Issue
Block a user