From 75953d954c075e0f6348cd59b74d7d0793f3f34b Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 23 Nov 2009 12:41:21 +0300 Subject: [PATCH] [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. --- src/game/Player.h | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/Player.h b/src/game/Player.h index c3b64691d..c7f36001a 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -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; } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 82f8f0ba7..d2d686372 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8863" + #define REVISION_NR "8864" #endif // __REVISION_NR_H__