*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

+2 -2
View File
@@ -11684,8 +11684,8 @@ void Unit::AddToWorld()
{
WorldObject::AddToWorld();
m_Notified = false;
//assert(m_NotifyListPos < 0); instance : crash
m_NotifyListPos = -1;
assert(m_NotifyListPos < 0); //instance : crash
//m_NotifyListPos = -1;
SetToNotify();
}
}