aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 8699296e75d..4b4f444471c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -17284,8 +17284,10 @@ bool Player::canSeeOrDetect(Unit const* u, bool detect, bool inVisibleList) cons
return false;
}
+ // If use this server will be too laggy
// Now check is target visible with LoS
- return u->IsWithinLOS(GetPositionX(),GetPositionY(),GetPositionZ());
+ //return u->IsWithinLOS(GetPositionX(),GetPositionY(),GetPositionZ());
+ return true;
}
bool Player::IsVisibleInGridForPlayer( Player const * pl ) const