diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/attrs.h | 4 | ||||
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/net/tmwa/attrs.h b/src/net/tmwa/attrs.h index 060e44c71..869dba3ed 100644 --- a/src/net/tmwa/attrs.h +++ b/src/net/tmwa/attrs.h @@ -25,10 +25,6 @@ namespace TmwAthena { - enum - { - JOB = 0xa - }; } // namespace TmwAthena #endif // NET_TMWA_ATTRS_H diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index b1d1fa055..7d5f7a299 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -146,7 +146,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, PlayerInfoBackend &data = character->data; data.mAttributes[Attributes::EXP] = msg.readInt32("exp"); data.mAttributes[Attributes::MONEY] = msg.readInt32("money"); - Stat &jobStat = data.mStats[static_cast<size_t>(JOB)]; + Stat &jobStat = data.mStats[static_cast<size_t>(Attributes::JOB)]; jobStat.exp = msg.readInt32("job"); const int temp = msg.readInt32("job level"); |