*Fix a crash in relocation notify.
--HG-- branch : trunk
This commit is contained in:
1 parent
b0fa2172e3
commit
40e353a9ca
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user