Files
WoWee/include
Kelsi 89dcdc4fe4 fix(death): show corpse markers on Eastern Kingdoms maps
Corpse state used corpseMapId == 0 as a missing-position sentinel, but map ID 0 is the valid Eastern Kingdoms continent. Death positions were cached correctly and then rejected by world-map, minimap, distance, and reclaim checks, leaving ghosts without a corpse marker.

Add an explicit corpsePositionValid flag independent of map ID. Set it for normal deaths, forced deaths, corpse objects, and MSG_CORPSE_QUERY responses; clear it on character reset and resurrection. Update corpse position getters and reclaim eligibility to use the validity flag so map ID 0 remains fully supported.

Verification: rebuilt the wowee target and ran all 31 CTest tests successfully.
2026-07-10 15:16:35 -07:00
..