mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-07 01:18:55 +01:00
Tools/vmap extractor: Skip unreachable WMO groups
This commit is contained in:
@@ -496,6 +496,10 @@ uint32 WMOGroup::GetLiquidTypeId(uint32 liquidTypeId)
|
||||
|
||||
bool WMOGroup::ShouldSkip(WMORoot const* root) const
|
||||
{
|
||||
// skip unreachable
|
||||
if (mogpFlags & 0x80)
|
||||
return true;
|
||||
|
||||
// skip antiportals
|
||||
if (mogpFlags & 0x4000000)
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user