summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
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;