mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-28 13:27:15 +00:00
hatelist fixes to fixes to fixes
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ Bot::~Bot() {
|
|||||||
GetPet()->Depop();
|
GetPet()->Depop();
|
||||||
|
|
||||||
entity_list.RemoveBot(GetID());
|
entity_list.RemoveBot(GetID());
|
||||||
entity_list.RemoveFromTargets(GetID(), true);
|
entity_list.RemoveFromTargets(this, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bot::SetBotID(uint32 botID) {
|
void Bot::SetBotID(uint32 botID) {
|
||||||
|
|||||||
+1
-1
@@ -427,7 +427,7 @@ Client::~Client() {
|
|||||||
eqs->Close();
|
eqs->Close();
|
||||||
eqs->ReleaseFromUse();
|
eqs->ReleaseFromUse();
|
||||||
//Moved this from ~Mob, because it could cause a crash in some cases where a hate list was still used and that mob was the only one on the hate list.
|
//Moved this from ~Mob, because it could cause a crash in some cases where a hate list was still used and that mob was the only one on the hate list.
|
||||||
entity_list.RemoveFromTargets(GetID(), true);
|
entity_list.RemoveFromTargets(this, true);
|
||||||
UninitializeBuffSlots();
|
UninitializeBuffSlots();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -76,7 +76,7 @@ Merc::Merc(const NPCType* d, float x, float y, float z, float heading)
|
|||||||
Merc::~Merc() {
|
Merc::~Merc() {
|
||||||
AI_Stop();
|
AI_Stop();
|
||||||
entity_list.RemoveMerc(this->GetID());
|
entity_list.RemoveMerc(this->GetID());
|
||||||
entity_list.RemoveFromTargets(GetID(), true);
|
entity_list.RemoveFromTargets(this, true);
|
||||||
UninitializeBuffSlots();
|
UninitializeBuffSlots();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -393,7 +393,7 @@ NPC::~NPC()
|
|||||||
safe_delete(swarmInfoPtr);
|
safe_delete(swarmInfoPtr);
|
||||||
safe_delete(qGlobals);
|
safe_delete(qGlobals);
|
||||||
//Moved this from ~Mob, because it could cause a crash in some cases where a hate list was still used and that mob was the only one on the hate list.
|
//Moved this from ~Mob, because it could cause a crash in some cases where a hate list was still used and that mob was the only one on the hate list.
|
||||||
entity_list.RemoveFromTargets(GetID(), true);
|
entity_list.RemoveFromTargets(this, true);
|
||||||
UninitializeBuffSlots();
|
UninitializeBuffSlots();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user