aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-10 09:53:21 -0500
committermegamage <none@none>2009-06-10 09:53:21 -0500
commit40e353a9ca49fcad6ffa70224c7c2137e71ed205 (patch)
tree021480b9c9dce28b5ad8dc304504bc55d7a72598 /src/game/Unit.cpp
parentb0fa2172e3df7bd098df5f6144d8231e1d98c4d9 (diff)
*Fix a crash in relocation notify.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 016abedf888..61460dc4f8e 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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();
}
}