summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 15:43:51 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 15:43:51 +0300
commit4a21e45a63137009a654a212ea7512ecc2846648 (patch)
tree13e0b726bacb3f73d9bf215a4c195ea75d4f6a55 /src/localplayer.cpp
parent5f97d3fd31bb5a17037610342ea09c21da9c47d3 (diff)
downloadplus-4a21e45a63137009a654a212ea7512ecc2846648.tar.gz
plus-4a21e45a63137009a654a212ea7512ecc2846648.tar.bz2
plus-4a21e45a63137009a654a212ea7512ecc2846648.tar.xz
plus-4a21e45a63137009a654a212ea7512ecc2846648.zip
Add consts to being class.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index dec72bcf7..a7e352c48 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -364,7 +364,7 @@ void LocalPlayer::slowLogic()
}
}
-void LocalPlayer::setAction(Action action, int attackType)
+void LocalPlayer::setAction(const Action action, const int attackType)
{
if (action == DEAD)
{
@@ -1021,7 +1021,7 @@ void LocalPlayer::setTarget(Being *target)
target->setShowName(true);
}
-void LocalPlayer::setDestination(int x, int y)
+void LocalPlayer::setDestination(const int x, const int y)
{
mActivityTime = cur_time;