*Fix a crash in relocation notify.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-10 09:53:21 -05:00
parent b0fa2172e3
commit 40e353a9ca
2 changed files with 3 additions and 3 deletions

View File

@@ -616,7 +616,7 @@ void Map::RelocationNotify()
void Map::AddUnitToNotify(Unit* u)
{
if(u->m_NotifyListPos < 0)
if(u->m_NotifyListPos < 0 && u->IsInWorld())
{
u->oldX = u->GetPositionX();
u->oldY = u->GetPositionY();