mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Fix a crash in relocation notify.
--HG-- branch : trunk
This commit is contained in:
@@ -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