From 4a21e45a63137009a654a212ea7512ecc2846648 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 25 Aug 2012 15:43:51 +0300 Subject: Add consts to being class. --- src/localplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/localplayer.cpp') 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; -- cgit v1.2.3-60-g2f50