fix(Sunstrider): correct map pins, override check, nil guards
- zoneDB: remap areaId 3431 → uiMapId 1241 (Sunstrider Isle) so quest 8335 pins render on correct map instead of Eversong Woods (1941) - compat/HBD: remove 1241→1941 redirect (Sunstrider pins now handled by zoneDB) - compiler: QuerySingle override check skips empty tables (next() guard) so spawn data overrides don't fall through to nil base DB values - MapIconTooltip: nil guards for minLevel/maxLevel to prevent crashes - Map/QuestieMap: remove stale 1241→1941 redirect comment
This commit is contained in:
@@ -62,8 +62,10 @@ local function _ResolveMapUiMapId(uiMapId, x, y)
|
||||
if uiMapId == 946 then
|
||||
return 1941
|
||||
end
|
||||
-- Map 1241 (Sunstrider Isle) now has its own Ascension-calibrated bounds
|
||||
-- and pins on 1241 render correctly on the Sunstrider sub-map. No redirect.
|
||||
-- Map 1241 (Sunstrider Isle): the game engine returns player world
|
||||
-- coordinates in Sunstrider space (mapData[1241] calibrated bounds).
|
||||
-- Pins MUST also convert through mapData[1241] so they share the same
|
||||
-- world space as the player on the minimap. Do NOT redirect to 1941.
|
||||
return uiMapId
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user