aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-04 13:08:14 -0600
committermegamage <none@none>2009-04-04 13:08:14 -0600
commitf599b603f3b33905ed9bdcc9f228d5e98cd2ef27 (patch)
tree856fd037634a22f1cc7ed5653f922b1f0f6a6044
parentcaca633c8e14e24d114f328e7f7f0469786c39bd (diff)
*Add a missing part of the visibility patch.
--HG-- branch : trunk
-rw-r--r--src/game/Map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index 21e6a26785d..5feea0db084 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -377,6 +377,7 @@ void Map::AddNotifier(T*)
template<>
void Map::AddNotifier(Player* obj)
{
+ obj->m_Notified = false;
obj->m_IsInNotifyList = false;
AddUnitToNotify(obj);
}
@@ -384,6 +385,7 @@ void Map::AddNotifier(Player* obj)
template<>
void Map::AddNotifier(Creature* obj)
{
+ obj->m_Notified = false;
obj->m_IsInNotifyList = false;
AddUnitToNotify(obj);
}