*Allow pet to have combo points.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-09-01 00:17:39 -05:00
parent 83ea85f9e4
commit 33a0155281
8 changed files with 49 additions and 25 deletions
+6 -1
View File
@@ -2062,7 +2062,12 @@ class MANGOS_DLL_SPEC Player : public Unit
void SetClientControl(Unit* target, uint8 allowMove);
void SetMover(Unit* target) { m_mover = target; }
void SetMover(Unit* target)
{
m_mover->m_movedPlayer = NULL;
m_mover = target;
m_mover->m_movedPlayer = this;
}
void SetSeer(WorldObject *target) { m_seer = target; }
void SetViewpoint(WorldObject *target, bool apply);
WorldObject* GetViewpoint() const;