mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Tools/vmap_extractor: Move information about model type from spawns in vmap tiles to model file itself
This commit is contained in:
@@ -74,7 +74,7 @@ namespace VMAP
|
||||
}
|
||||
|
||||
// M2 files don't contain area info, only WMO files
|
||||
if (flags & MOD_M2)
|
||||
if (iModel->IsM2())
|
||||
return;
|
||||
if (!iBound.contains(p))
|
||||
return;
|
||||
@@ -108,7 +108,7 @@ namespace VMAP
|
||||
}
|
||||
|
||||
// M2 files don't contain area info, only WMO files
|
||||
if (flags & MOD_M2)
|
||||
if (iModel->IsM2())
|
||||
return false;
|
||||
if (!iBound.contains(p))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user