*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
This commit is contained in:
megamage
2009-04-04 13:22:56 -06:00
parent e53521d228
commit eb9bb0dc5d
+2
View File
@@ -353,6 +353,7 @@ void Map::AddNotifier(T*)
template<> template<>
void Map::AddNotifier(Player* obj) void Map::AddNotifier(Player* obj)
{ {
obj->m_Notified = false;
obj->m_IsInNotifyList = false; obj->m_IsInNotifyList = false;
AddUnitToNotify(obj); AddUnitToNotify(obj);
} }
@@ -360,6 +361,7 @@ void Map::AddNotifier(Player* obj)
template<> template<>
void Map::AddNotifier(Creature* obj) void Map::AddNotifier(Creature* obj)
{ {
obj->m_Notified = false;
obj->m_IsInNotifyList = false; obj->m_IsInNotifyList = false;
AddUnitToNotify(obj); AddUnitToNotify(obj);
} }