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

+2
View File
@@ -545,6 +545,7 @@ public:
inline const std::unordered_map<uint16, NPC *> &GetNPCList() { return npc_list; }
inline const std::unordered_map<uint16, Merc *> &GetMercList() { return merc_list; }
inline const std::unordered_map<uint16, Client *> &GetClientList() { return client_list; }
void ReKeyClient(Client *c);
inline const std::unordered_map<uint16, Bot*> &GetBotList() { return bot_list; }
std::vector<Bot *> GetBotListByCharacterID(uint32 character_id, uint8 class_id = Class::None);
std::vector<Bot *> GetBotListByClientName(std::string client_name, uint8 class_id = Class::None);
@@ -599,6 +600,7 @@ private:
std::unordered_map<uint16, Client *> client_list;
std::unordered_map<uint16, Mob *> mob_list;
uint32 mob_list_erasures = 0; // bumped on every mob_list erase, so MobProcess can tell its iterator may be stale
std::unordered_map<uint16, NPC *> npc_list;
std::unordered_map<uint16, Merc *> merc_list;
std::unordered_map<uint16, Corpse *> corpse_list;