summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-25 01:52:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-25 02:16:11 +0300
commitda457cf152d5aff51d859c18d3668682348dbf7a (patch)
tree6ec10caec1fc472f2ef3c7664a1c536434df1c0f /src/localplayer.h
parentb474de4a54c9b1d4d863971e40b807588d554436 (diff)
downloadplus-da457cf152d5aff51d859c18d3668682348dbf7a.tar.gz
plus-da457cf152d5aff51d859c18d3668682348dbf7a.tar.bz2
plus-da457cf152d5aff51d859c18d3668682348dbf7a.tar.xz
plus-da457cf152d5aff51d859c18d3668682348dbf7a.zip
change vars or methods to const.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index aeae31faf..a12aacc91 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -315,9 +315,9 @@ class LocalPlayer : public Being, public ActorSpriteListener,
// int getSkillLv(int id);
- bool isReachable(int x, int y, int maxCost = 0);
+ bool isReachable(int x, int y, int maxCost = 0) const;
- bool isReachable(Being *being, int maxCost = 0);
+ bool isReachable(Being *being, int maxCost = 0) const;
void setHome();