mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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
|
// zone update
|
||||||
data.Initialize(SMSG_PLAYERBOUND, 8 + 4);
|
data.Initialize(SMSG_PLAYERBOUND, 8 + 4);
|
||||||
data << player->GetObjectGuid();
|
data << m_caster->GetObjectGuid();
|
||||||
data << uint32(area_id);
|
data << uint32(area_id);
|
||||||
player->SendDirectMessage(&data);
|
player->SendDirectMessage(&data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12695"
|
#define REVISION_NR "12696"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue