*Fix a crash caused by relocationnotify

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-08 17:47:23 -05:00
parent 64ee35bd94
commit a78a0c6b01
3 changed files with 7 additions and 5 deletions

View File

@@ -12366,7 +12366,7 @@ void Unit::RemoveFromWorld()
if(m_NotifyListPos >= 0)
{
GetMap()->RemoveUnitFromNotify(m_NotifyListPos);
GetMap()->RemoveUnitFromNotify(this, m_NotifyListPos);
m_NotifyListPos = -1;
}