aboutsummaryrefslogtreecommitdiff
path: root/src/game/DynamicObject.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-25 20:52:20 -0600
committermegamage <none@none>2009-02-25 20:52:20 -0600
commitbf66375bc73c2b9dd7c2d26d7af25b111734c622 (patch)
tree67c3cf601faf32a03d16dfe7b02b2a938ec76ae7 /src/game/DynamicObject.cpp
parentccde296fd3822898e8959c009211fe880a0429f7 (diff)
*Update active object code. By VladimirMangos.
--HG-- branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r--src/game/DynamicObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp
index 12a9cd67500..de8d0eb2c6d 100644
--- a/src/game/DynamicObject.cpp
+++ b/src/game/DynamicObject.cpp
@@ -57,7 +57,7 @@ void DynamicObject::RemoveFromWorld()
{
// Make sure the object is back to grid container for removal as farsight targets
// are switched to world container on creation and they are also set to active
- if (isActive())
+ if (isActiveObject())
{
GetMap()->SwitchGridContainers(this, false);
setActive(false);