*Fix a crash caused by relocationnotify

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-08 17:47:23 -05:00
1 parent 64ee35bd94
commit a78a0c6b01
3 files changed
+7 -5

No files matched your search

+1 -1
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;
}