*Add a missing part of visibility patch.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-04 15:14:19 -06:00
parent 86bd3bfb42
commit 96f2363b04
+1 -1
View File
@@ -625,7 +625,7 @@ void Map::RelocationNotify()
for(std::vector<Unit*>::iterator iter = i_unitsToNotify.begin(); iter != i_unitsToNotify.end(); ++iter) for(std::vector<Unit*>::iterator iter = i_unitsToNotify.begin(); iter != i_unitsToNotify.end(); ++iter)
{ {
Unit *unit = *iter; Unit *unit = *iter;
if(!unit->IsInWorld() || unit->GetMapId() != GetId()) if(unit->m_Notified || !unit->IsInWorld() || unit->GetMapId() != GetId())
continue; continue;
unit->m_IsInNotifyList = false; unit->m_IsInNotifyList = false;