mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
More scanning work to unify data structures
This commit is contained in:
+1
-10
@@ -500,6 +500,7 @@ Mob::~Mob()
|
||||
UninitializeBuffSlots();
|
||||
|
||||
entity_list.RemoveMobFromCloseLists(this);
|
||||
close_mobs.clear();
|
||||
|
||||
#ifdef BOTS
|
||||
LeaveHealRotationTargetPool();
|
||||
@@ -531,16 +532,6 @@ uint32 Mob::GetAppearanceValue(EmuAppearance iAppearance) {
|
||||
return(ANIM_STAND);
|
||||
}
|
||||
|
||||
void Mob::GetCloseMobList(std::list<std::pair<Mob *, float>> &m_list)
|
||||
{
|
||||
m_list.clear();
|
||||
auto it = close_mobs.begin();
|
||||
while (it != close_mobs.end()) {
|
||||
m_list.push_back(std::make_pair(it->first, it->second));
|
||||
++it;
|
||||
}
|
||||
}
|
||||
|
||||
void Mob::SetInvisible(uint8 state)
|
||||
{
|
||||
invisible = state;
|
||||
|
||||
Reference in New Issue
Block a user