*Add a missing part of the visibility patch.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-04 13:08:14 -06:00
parent caca633c8e
commit f599b603f3
+2
View File
@@ -377,6 +377,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);
} }
@@ -384,6 +385,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);
} }