summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:44:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commit41b320bbdbcdc6bc158ab9dde9741ac50f194936 (patch)
tree20c9573740c297b3e16f09eb701089df21b699ba /src/net/ea/playerhandler.cpp
parenta6f509e5724bea354c4da040b210ad21937d9b26 (diff)
downloadmanaverse-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.gz
manaverse-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.bz2
manaverse-41b320bbdbcdc6bc158ab9dde9741ac50f194936.tar.xz
manaverse-41b320bbdbcdc6bc158ab9dde9741ac50f194936.zip
Move HIT stat from net enum into attributes.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index 54296f181..7e116e9a2 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -506,7 +506,7 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatMod(EA_MDEF, base);
break;
case 0x0031:
- PlayerInfo::setStatBase(EA_HIT, base);
+ PlayerInfo::setStatBase(Attributes::HIT, base);
break;
case 0x0032:
PlayerInfo::setStatBase(Attributes::FLEE, base);