summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
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()