diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-12 15:46:39 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-13 11:03:27 +0100 |
commit | d62f7855e304553a672508d2167aee15b1cb99ad (patch) | |
tree | c23e04b4e0663bcc6219ce11e74c6b5735718d24 /src/net/manaserv/charhandler.h | |
parent | 55dbddded11691ece499370b49215011d3c867f0 (diff) | |
download | manaserv-char-attr.tar.gz manaserv-char-attr.tar.bz2 manaserv-char-attr.tar.xz manaserv-char-attr.zip |
Cleaned up some code in CharHandler::updateCharactersmanaserv-char-attr
This is Manaserv related code, which can't be tested right now due to
protocol changes.
Diffstat (limited to 'src/net/manaserv/charhandler.h')
-rw-r--r-- | src/net/manaserv/charhandler.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/manaserv/charhandler.h b/src/net/manaserv/charhandler.h index 9ec5cdbb..3fabc81c 100644 --- a/src/net/manaserv/charhandler.h +++ b/src/net/manaserv/charhandler.h @@ -94,8 +94,6 @@ class CharHandler final : public MessageHandler, public Net::CharHandler double mod; }; - using CachedAttributes = std::map<int, CachedAttrbiute>; - struct CachedCharacterInfo { int slot; std::string name; @@ -105,7 +103,7 @@ class CharHandler final : public MessageHandler, public Net::CharHandler int level; int characterPoints; int correctionPoints; - CachedAttributes attribute; + std::map<int, CachedAttrbiute> attributes; }; void handleCharacterInfo(MessageIn &msg); |