diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 15:28:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:28:08 +0300 |
commit | 081e86a783d33e92d9566f5262b629031887d404 (patch) | |
tree | f5a5004837089887fc3a8d99093e8beae9236727 /src/net/ea/playerhandler.cpp | |
parent | a001d8490f6996d5228d0e86ef3b3c6ee1712c47 (diff) | |
download | manaverse-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/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 2 |
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); |