mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Another safeguard against a dangling pointer.
This commit is contained in:
parent
fa18991917
commit
18e9714273
@ -5775,6 +5775,7 @@ bool Merc::Dismiss(){
|
|||||||
|
|
||||||
void Merc::Zone() {
|
void Merc::Zone() {
|
||||||
Save();
|
Save();
|
||||||
|
entity_list.RemoveMerc(this->GetID());
|
||||||
Depop();
|
Depop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user