aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.h')
-rw-r--r--src/game/Player.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/game/Player.h b/src/game/Player.h
index 58f766d677e..b96753b6175 100644
--- a/src/game/Player.h
+++ b/src/game/Player.h
@@ -2057,16 +2057,12 @@ class TRINITY_DLL_SPEC Player : public Unit
void EnterVehicle(Vehicle *vehicle);
void ExitVehicle(Vehicle *vehicle);
- void SetMover(Unit* target) { CreateSeer(target); m_mover = target; }
- void CreateSeer(WorldObject *target);
+ void SetMover(Unit* target) { CreateViewpoint(target); m_mover = target; }
void SetSeer(WorldObject *target) { m_seer = target; }
+ void CreateViewpoint(WorldObject *target);
+ WorldObject* GetViewpoint() const;
void StopCastingCharm() { Uncharm(); }
void StopCastingBindSight();
- uint64 GetFarSightGUID() const { return GetUInt64Value(PLAYER_FARSIGHT); }
- WorldObject* GetFarsightTarget() const;
- // Controls if vision is currently on farsight object, updated in FAR_SIGHT opcode
- void SetFarsightVision(bool apply) { m_farsightVision = apply; }
- bool HasFarsightVision() const { return m_farsightVision; }
// Transports
Transport * GetTransport() const { return m_transport; }