summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-01-27 01:46:58 +0100
committerBertram <bertram@cegetel.net>2010-01-27 01:46:58 +0100
commit572ed6a1aa6c847e8764bddf2bb0d687ecf1a405 (patch)
treef0183d944a3a887b359e2dc2895e87a9c2767e66 /src/net/ea/playerhandler.cpp
parent692aac3122843c59610684802e25b92cc9f0a33c (diff)
downloadmana-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.gz
mana-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.bz2
mana-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.tar.xz
mana-572ed6a1aa6c847e8764bddf2bb0d687ecf1a405.zip
Added mutators/accessors to being.h and smal cleanups.
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 3a0a2fe2..0965e85a 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -211,7 +211,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
}
player_node->setAction(Being::STAND);
- player_node->mFrame = 0;
+ player_node->setFrame(0);
player_node->setTileCoords(x, y);
logger->log("Adjust scrolling by %d:%d", (int) scrollOffsetX,
@@ -295,7 +295,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
case 0x0034: player_node->setAttributeBase(CRIT, value);
player_node->setAttributeEffective(CRIT, value); break;
- case 0x0035: player_node->mAttackSpeed = value; break;
+ case 0x0035: player_node->setAttackSpeed(value); break;
case 0x0037: player_node->setAttributeBase(JOB, value);
player_node->setAttributeEffective(JOB, value); break;
case 500: player_node->setGMLevel(value); break;