diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-25 15:43:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-25 15:43:51 +0300 |
commit | 4a21e45a63137009a654a212ea7512ecc2846648 (patch) | |
tree | 13e0b726bacb3f73d9bf215a4c195ea75d4f6a55 /src/localplayer.cpp | |
parent | 5f97d3fd31bb5a17037610342ea09c21da9c47d3 (diff) | |
download | manaverse-4a21e45a63137009a654a212ea7512ecc2846648.tar.gz manaverse-4a21e45a63137009a654a212ea7512ecc2846648.tar.bz2 manaverse-4a21e45a63137009a654a212ea7512ecc2846648.tar.xz manaverse-4a21e45a63137009a654a212ea7512ecc2846648.zip |
Add consts to being class.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 4 |
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; |