*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
+1
-1
@@ -8518,8 +8518,8 @@ void Unit::RemovePlayerFromVision(Player* plr)
|
||||
if (m_sharedVision.empty() && GetTypeId() == TYPEID_UNIT
|
||||
&& !((Creature*)this)->isPet())
|
||||
{
|
||||
setActive(false);
|
||||
GetMap()->SwitchGridContainers((Creature*)this, false);
|
||||
setActive(false);
|
||||
}
|
||||
plr->ClearFarsight();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user