Small fixes: Titanium overflow, LDoN/alt-currency sell-back, hover respawn, duels (#5127)

This commit is contained in:
straps-eq authored and GitHub committed 2026-11-10 23:48:17 -08:00
1 parent a572b03f56
commit 3c2c684c9d
8 files changed
+142 -18

No files matched your search

+6
View File
@@ -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);