*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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user