Tools/vmap extractor: Skip unreachable WMO groups

This commit is contained in:
killerwife authored and Ovahlord committed 2021-03-31 10:30:14 +02:00
1 parent cece14db62
commit 4ffac2516b
1 file changed
+4
+4
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;