From dcff6f6525ee9fa9ad85045cd67b90221e4a1527 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Sun, 12 Feb 2017 13:20:26 +0100 Subject: [PATCH] Setup/Zones * fixed flagging valid zones as hidden if no displayable map was present --- setup/tools/sqlgen/zones.func.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/tools/sqlgen/zones.func.php b/setup/tools/sqlgen/zones.func.php index 7da8cb12..dd6adf75 100644 --- a/setup/tools/sqlgen/zones.func.php +++ b/setup/tools/sqlgen/zones.func.php @@ -46,7 +46,8 @@ function zones() IF(a.mapId = 571, 10, IF(a.mapId = 530, 8, a.mapId))))))), a.flags, - IF(wma.id IS NULL AND m.areaType <> 4, ?d, 0), -- cuFlags, + IF(areaTable <> 0 OR -- cuFlags + (wma.id IS NULL AND pa.areaId IS NULL AND (flags & 0x11000) = 0), ?d, 0), IF(a.flags & 0x01000000, 5, -- g_zone_territories IF(m.isBG = 1, 4, IF(m.areaType = 4, 4,