From bf66375bc73c2b9dd7c2d26d7af25b111734c622 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 25 Feb 2009 20:52:20 -0600 Subject: *Update active object code. By VladimirMangos. --HG-- branch : trunk --- src/game/DynamicObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/DynamicObject.cpp') 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); -- cgit v1.2.3