From eb9bb0dc5d6759683321f5ad09ea88784cc8617a Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 4 Apr 2009 13:22:56 -0600 Subject: [PATCH] *Add some update from TC1. I am not able to merge from TC1 because bg patch has too many conflicts. TC1 authors: please merge your patch to TC2 after pushing it to TC1. --HG-- branch : trunk --- src/game/Map.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/Map.cpp b/src/game/Map.cpp index 7fd289d8a37..29b7515750e 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -353,6 +353,7 @@ void Map::AddNotifier(T*) template<> void Map::AddNotifier(Player* obj) { + obj->m_Notified = false; obj->m_IsInNotifyList = false; AddUnitToNotify(obj); } @@ -360,6 +361,7 @@ void Map::AddNotifier(Player* obj) template<> void Map::AddNotifier(Creature* obj) { + obj->m_Notified = false; obj->m_IsInNotifyList = false; AddUnitToNotify(obj); }