mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[12696] Fix guid sent in SMSG_PLAYERBOUND, it should be caster's gui…
…d, not player's (original author @Shauren)
This commit is contained in:
parent
6658234c07
commit
4cebb3880c
2 changed files with 2 additions and 2 deletions
|
|
@ -10392,7 +10392,7 @@ void Spell::EffectBind(SpellEffectEntry const* effect)
|
|||
|
||||
// zone update
|
||||
data.Initialize(SMSG_PLAYERBOUND, 8 + 4);
|
||||
data << player->GetObjectGuid();
|
||||
data << m_caster->GetObjectGuid();
|
||||
data << uint32(area_id);
|
||||
player->SendDirectMessage(&data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue