*Fix a crash in relocation notify.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-10 09:53:21 -05:00
1 parent b0fa2172e3
commit 40e353a9ca
2 files changed
+3 -3

No files matched your search

+1 -1
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();