diff options
author | megamage <none@none> | 2009-02-17 18:07:09 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-17 18:07:09 -0600 |
commit | 05ef0471c32aecbc10708acfc851185d15f64636 (patch) | |
tree | 0855cd7adc2d2575729b3478174ac88a4ce6ac00 /src/game/Player.cpp | |
parent | 1f183d9e80468ed9cc1b679c5fa7fd182cf12300 (diff) |
*Fix a crash bug caused by bindsight spells.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 3bb7c959ca0..20abcc3ec02 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -19874,14 +19874,6 @@ void Player::HandleFallUnderMap() sLog.outDetail("Viewport for "I64FMT" (%s) changed to "I64FMT, GetGUID(), GetName(), guid); }*/ -void Player::SetBindSight(Unit *target) -{ - if(target) - target->AddPlayerToVision(this); - else - target->RemovePlayerFromVision(this); -} - WorldObject* Player::GetFarsightTarget() const { // Players can have in farsight field another player's guid, a creature's guid, or a dynamic object's guid |