summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 17:11:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commit1b9ea6d00c6923abe1da37833e7772d5a5e34b6d (patch)
treea4c4da9f46f171dfd559a10d7fb673164cd03e59 /src/net/ea/playerhandler.cpp
parente6eef288f86dcc16aa2b5ba20c9079ead78f17e2 (diff)
downloadmv-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.gz
mv-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.bz2
mv-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.xz
mv-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.zip
Move LUK 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 cc2de72c7..f16f6103f 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -382,7 +382,7 @@ void PlayerHandler::setStat(const int type,
setStatComplex(EA_DEX);
break;
case 0x0012:
- setStatComplex(EA_LUK);
+ setStatComplex(Attributes::LUK);
break;
case 0x0014:
{
@@ -470,7 +470,7 @@ void PlayerHandler::setStat(const int type,
statusWindow->setPointsNeeded(EA_DEX, base);
break;
case 0x0025:
- statusWindow->setPointsNeeded(EA_LUK, base);
+ statusWindow->setPointsNeeded(Attributes::LUK, base);
break;
case 0x0029:
PlayerInfo::setStatBase(Attributes::ATK, base);