mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9980] Remove target guid in spell with TARGET_FLAG_DEST_LOCATION
Corrects spell animations and visual going in weird directions for these kind of spells Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
2681cd7de7
commit
afc9b28103
2 changed files with 2 additions and 6 deletions
|
|
@ -300,11 +300,7 @@ void SpellCastTargets::write( ByteBuffer& data ) const
|
||||||
|
|
||||||
if( m_targetMask & TARGET_FLAG_DEST_LOCATION )
|
if( m_targetMask & TARGET_FLAG_DEST_LOCATION )
|
||||||
{
|
{
|
||||||
if(m_unitTarget)
|
data << uint8(0); // no known cases with target pguid
|
||||||
data << m_unitTarget->GetPackGUID();
|
|
||||||
else
|
|
||||||
data << uint8(0);
|
|
||||||
|
|
||||||
data << m_destX << m_destY << m_destZ;
|
data << m_destX << m_destY << m_destZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9979"
|
#define REVISION_NR "9980"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue