From f9855fd0976a4dd34640491df26abc5eec3a8403 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Sat, 30 Oct 2021 00:54:44 -0500 Subject: [PATCH] [Rez] Fix Z during Resurrection (#1648) --- zone/spells.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index 9efb8736b..f50acd1f1 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -4205,9 +4205,9 @@ void Corpse::CastRezz(uint16 spellid, Mob* Caster) rezz->zone_id = zone->GetZoneID(); rezz->instance_id = zone->GetInstanceID(); rezz->spellid = spellid; - rezz->x = this->m_Position.x; - rezz->y = this->m_Position.y; - rezz->z = this->m_Position.z; + rezz->x = m_Position.x; + rezz->y = m_Position.y; + rezz->z = GetFixedZ(m_Position); rezz->unknown000 = 0x00000000; rezz->unknown020 = 0x00000000; rezz->unknown088 = 0x00000000;