aboutsummaryrefslogtreecommitdiff
path: root/src/game/Map.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-06 08:32:14 +0200
committerQAston <none@none>2009-06-06 08:32:14 +0200
commitc99b74151727a081423c60d3f42f1bd6caf4cc7e (patch)
tree61d45f78cdd770e10a81c32a7f938e725b72d78d /src/game/Map.cpp
parent8bc46785de9950218f791f9eb6efc598d1a97d29 (diff)
parent39548d6822ce2a8cea49e4467f8329335aa0d85d (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r--src/game/Map.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index 144dce1edf6..3f5b0ba8e5e 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -592,7 +592,10 @@ void Map::RelocationNotify()
if(unit->GetTypeId() == TYPEID_PLAYER)
{
Trinity::PlayerRelocationNotifier notifier(*((Player*)unit));
+ if(((Player*)unit)->m_seer != unit)
VisitAll(((Player*)unit)->m_seer->GetPositionX(), ((Player*)unit)->m_seer->GetPositionY(), World::GetMaxVisibleDistance() + dist, notifier);
+ else
+ VisitAll(((Player*)unit)->GetPositionX(), ((Player*)unit)->GetPositionY(), World::GetMaxVisibleDistance() + dist, notifier);
notifier.Notify();
}
else