summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 17:44:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commit1d6c226f2aae2410f9785709aefd88f1a17e6bca (patch)
treeb5d1d89f8c0418c3c0a95875285ac4c9350692b8 /src/net/eathena/charserverhandler.cpp
parentb35357cfcd58ac26d2f9d008a2db5b931cccb428 (diff)
downloadplus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.gz
plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.bz2
plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.tar.xz
plus-1d6c226f2aae2410f9785709aefd88f1a17e6bca.zip
Move STR stat from net enum into attributes.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 0b48e8d80..6a0bd6509 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -198,7 +198,10 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg,
character->dummy = tempPlayer;
for (int i = 0; i < 6; i++)
- character->data.mStats[i + STR].base = msg.readUInt8("stat");
+ {
+ character->data.mStats[i + Attributes::STR].base
+ = msg.readUInt8("stat");
+ }
tempPlayer->setSprite(SPRITE_SHOE, shoes);
tempPlayer->setSprite(SPRITE_GLOVES, gloves);