*Make sure the a player can only have one viewpoint.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-24 13:13:00 -06:00
parent 6b4d5c4a35
commit c5969d6d03
5 changed files with 42 additions and 30 deletions
+2 -2
View File
@@ -1982,9 +1982,9 @@ class TRINITY_DLL_SPEC Player : public Unit
void EnterVehicle(Vehicle *vehicle);
void ExitVehicle(Vehicle *vehicle);
void SetMover(Unit* target) { CreateViewpoint(target); m_mover = target; }
void SetMover(Unit* target) { m_mover = target; }
void SetSeer(WorldObject *target) { m_seer = target; }
void CreateViewpoint(WorldObject *target);
void SetViewpoint(WorldObject *target, bool apply);
WorldObject* GetViewpoint() const;
void StopCastingCharm();
void StopCastingBindSight();