aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-04 13:22:56 -0600
committermegamage <none@none>2009-04-04 13:22:56 -0600
commiteb9bb0dc5d6759683321f5ad09ea88784cc8617a (patch)
treed9a624128fb3157a9c8f6616338bb985d32acf06 /src
parente53521d228df1e53d63b5e0fd53c414b5dff7866 (diff)
*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
Diffstat (limited to 'src')
-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 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);
}