*Update active object code. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
1 parent
ccde296fd3
commit
bf66375bc7
14 files changed
+279
-123
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user