summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 15:39:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commita6f509e5724bea354c4da040b210ad21937d9b26 (patch)
treeded1d613f3f9896ae1489c61af89aa1e86f43dcc /src/net/ea/playerhandler.cpp
parent081e86a783d33e92d9566f5262b629031887d404 (diff)
downloadplus-a6f509e5724bea354c4da040b210ad21937d9b26.tar.gz
plus-a6f509e5724bea354c4da040b210ad21937d9b26.tar.bz2
plus-a6f509e5724bea354c4da040b210ad21937d9b26.tar.xz
plus-a6f509e5724bea354c4da040b210ad21937d9b26.zip
Move FLEE stat from net enum into attributes.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index cafd4b681..54296f181 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -509,10 +509,10 @@ void PlayerHandler::setStat(const int type,
PlayerInfo::setStatBase(EA_HIT, base);
break;
case 0x0032:
- PlayerInfo::setStatBase(EA_FLEE, base);
+ PlayerInfo::setStatBase(Attributes::FLEE, base);
break;
case 0x0033:
- PlayerInfo::setStatMod(EA_FLEE, base);
+ PlayerInfo::setStatMod(Attributes::FLEE, base);
break;
case 0x0034:
PlayerInfo::setStatBase(Attributes::CRIT, base);