mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 00:27:16 +00:00
Small fixes: Titanium overflow, LDoN/alt-currency sell-back, hover respawn, duels (#5127)
This commit is contained in:
1 parent
a572b03f56
commit
3c2c684c9d
8 files changed
+142
-18
No files matched your search
@@ -2096,6 +2096,12 @@ bool Client::Death(Mob* killer_mob, int64 damage, int32 spell, EQ::skills::Skill
|
||||
}
|
||||
}
|
||||
|
||||
// Other mobs' close lists hold this client under its current id, which the corpse takes over.
|
||||
// Drop those entries now: after a hover respawn the client gets a new id, so they would never
|
||||
// be removed and dangle once the client leaves (crash in Mob::IsCloseToBanker).
|
||||
entity_list.RemoveMobFromCloseLists(this);
|
||||
m_close_mobs.clear();
|
||||
|
||||
entity_list.AddCorpse(new_corpse, GetID());
|
||||
SetID(0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user