*Add a missing part of the visibility patch.
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user