mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-21 06:37:57 -04:00
Two bugs fixed: 1. acceptResurrect() was always sending CMSG_SPIRIT_HEALER_ACTIVATE even for player-cast resurrections (Priest/Paladin/Druid). That opcode is only the correct response to SMSG_SPIRIT_HEALER_CONFIRM. For SMSG_RESURRECT_REQUEST the server expects CMSG_RESURRECT_RESPONSE with accept=1. Added resurrectIsSpiritHealer_ to track which path triggered the dialog and send the right packet per type. 2. The resurrect dialog showed a generic "Return to life?" string regardless of who cast the resurrection. Parse the optional CString name from SMSG_RESURRECT_REQUEST (or fall back to playerNameCache) and display "X wishes to resurrect you." when the caster is known.