Tools/vmap extractor: Skip unreachable WMO groups

This commit is contained in:
killerwife
2021-03-31 10:30:14 +02:00
committed by Ovahlord
parent cece14db62
commit 4ffac2516b

View File

@@ -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;