[8864] Not set target field at client side unit selection.

This fix second part problem (partly fixed early) when player with in client selection
some unit (including self selection) show at loading another map
or far teleport as in attack animation. Target propertly already set at attack command.

Thanks to Agiko for reasech.
This commit is contained in:
VladimirMangos 2009-11-23 12:41:21 +03:00
parent b160685c0c
commit 75953d954c
2 changed files with 2 additions and 2 deletions

View file

@ -1453,7 +1453,7 @@ class MANGOS_DLL_SPEC Player : public Unit
QuestStatusMap& getQuestStatusMap() { return mQuestStatus; };
const uint64& GetSelection( ) const { return m_curSelection; }
void SetSelection(const uint64 &guid) { m_curSelection = guid; SetTargetGUID(guid); }
void SetSelection(const uint64 &guid) { m_curSelection = guid; }
uint8 GetComboPoints() { return m_comboPoints; }
const uint64& GetComboTarget() const { return m_comboTarget; }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8863"
#define REVISION_NR "8864"
#endif // __REVISION_NR_H__