summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/localplayer.h
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmv-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
mv-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
mv-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
mv-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 2213060bf..5aefca302 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -402,7 +402,7 @@ class LocalPlayer final : public Being,
void respawn();
- FloorItem *getPickUpTarget() const A_WARN_UNUSED
+ const FloorItem *getPickUpTarget() const A_WARN_UNUSED
{ return mPickUpTarget; }
void unSetPickUpTarget()