summaryrefslogtreecommitdiff
path: root/src/net/ea/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/ea/playerhandler.cpp
parenta001d8490f6996d5228d0e86ef3b3c6ee1712c47 (diff)
downloadmv-081e86a783d33e92d9566f5262b629031887d404.tar.gz
mv-081e86a783d33e92d9566f5262b629031887d404.tar.bz2
mv-081e86a783d33e92d9566f5262b629031887d404.tar.xz
mv-081e86a783d33e92d9566f5262b629031887d404.zip
Move CRIT 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 831bc08e0..cafd4b681 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -515,7 +515,7 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatMod(EA_FLEE, base);
break;
case 0x0034:
- PlayerInfo::setStatBase(EA_CRIT, base);
+ PlayerInfo::setStatBase(Attributes::CRIT, base);
break;
case 0x0035:
localPlayer->setAttackSpeed(base);