diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-25 01:52:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-25 02:16:11 +0300 |
commit | da457cf152d5aff51d859c18d3668682348dbf7a (patch) | |
tree | 6ec10caec1fc472f2ef3c7664a1c536434df1c0f /src/localplayer.h | |
parent | b474de4a54c9b1d4d863971e40b807588d554436 (diff) | |
download | manaverse-da457cf152d5aff51d859c18d3668682348dbf7a.tar.gz manaverse-da457cf152d5aff51d859c18d3668682348dbf7a.tar.bz2 manaverse-da457cf152d5aff51d859c18d3668682348dbf7a.tar.xz manaverse-da457cf152d5aff51d859c18d3668682348dbf7a.zip |
change vars or methods to const.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 4 |
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(); |