diff options
author | megamage <none@none> | 2009-08-08 17:47:23 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-08 17:47:23 -0500 |
commit | a78a0c6b0175aeec85ed3a53ddb52dcf5eeebdcf (patch) | |
tree | c46b83a98a3ef51755b71b68a80a61e144f0d0b6 /src/game/Unit.cpp | |
parent | 64ee35bd94d70872d404c23094f96962fe8f6114 (diff) |
*Fix a crash caused by relocationnotify
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index d126255047c..0de06b9e9a9 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -12366,7 +12366,7 @@ void Unit::RemoveFromWorld() if(m_NotifyListPos >= 0) { - GetMap()->RemoveUnitFromNotify(m_NotifyListPos); + GetMap()->RemoveUnitFromNotify(this, m_NotifyListPos); m_NotifyListPos = -1; } |