summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:28:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:08 +0300
commit081e86a783d33e92d9566f5262b629031887d404 (patch)
treef5a5004837089887fc3a8d99093e8beae9236727 /src/net/tmwa/playerhandler.cpp
parenta001d8490f6996d5228d0e86ef3b3c6ee1712c47 (diff)
downloadmanaverse-081e86a783d33e92d9566f5262b629031887d404.tar.gz
manaverse-081e86a783d33e92d9566f5262b629031887d404.tar.bz2
manaverse-081e86a783d33e92d9566f5262b629031887d404.tar.xz
manaverse-081e86a783d33e92d9566f5262b629031887d404.zip
Move CRIT stat from net enum into attributes.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index f2b47c607..2167bf4a9 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -421,7 +421,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(FLEE, msg.readInt16("flee"), false);
PlayerInfo::setStatMod(FLEE, msg.readInt16("flee+"));
- PlayerInfo::setStatBase(CRIT, msg.readInt16("crit"));
+ PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit"));
PlayerInfo::setStatBase(Attributes::MANNER, msg.readInt16("manner"));
msg.readInt16("unused?");