summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2009-11-05 23:41:15 +0200
committerJared Adams <jaxad0127@gmail.com>2009-11-05 14:48:17 -0700
commit44f7c3a5c43322b582350d2e6623a66bbee17170 (patch)
treedc1102b56b96209855dd7a1132e6380da0221d0d /src/net/ea
parent6ec98a246ee9915cdcc4a58f5de6882e415adc2f (diff)
downloadmana-44f7c3a5c43322b582350d2e6623a66bbee17170.tar.gz
mana-44f7c3a5c43322b582350d2e6623a66bbee17170.tar.bz2
mana-44f7c3a5c43322b582350d2e6623a66bbee17170.tar.xz
mana-44f7c3a5c43322b582350d2e6623a66bbee17170.zip
Fix attack atribute display at start in StatusWindow (eA)
Diffstat (limited to 'src/net/ea')
-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 454d6210..3055e934 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -421,8 +421,8 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
player_node->setAttributeEffective(MDEF, val);
val = msg.readInt16(); // HIT
- player_node->setAttributeBase(ATK, val);
- player_node->setAttributeEffective(ATK, val);
+ player_node->setAttributeBase(HIT, val);
+ player_node->setAttributeEffective(HIT, val);
val = msg.readInt16(); // FLEE
player_node->setAttributeBase(FLEE, val);