aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-11 16:33:33 -0500
committermegamage <none@none>2009-08-11 16:33:33 -0500
commit962b88a381cd7c051378ab10e783511af734b9bf (patch)
treecd30fccd45c5a2f675b4620760f30ee04667628d /src/game/Unit.cpp
parent9403ff03e792154b5709a05d8dfdd7da123ce9b5 (diff)
*ResetMap for worldobjects when map is deleted.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 22cb8895d89..a124dc464c0 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12389,7 +12389,7 @@ void Unit::RemoveFromWorld()
RemoveAllControlled();
if(m_NotifyListPos >= 0)
- GetMap()->RemoveUnitFromNotify(this, m_NotifyListPos);
+ GetMap()->RemoveUnitFromNotify(this);
if(GetCharmerGUID())
{