aboutsummaryrefslogtreecommitdiff
path: root/src/clientenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r--src/clientenvironment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientenvironment.h b/src/clientenvironment.h
index 61ed687ca..12070afec 100644
--- a/src/clientenvironment.h
+++ b/src/clientenvironment.h
@@ -78,7 +78,7 @@ public:
void step(f32 dtime);
virtual void setLocalPlayer(LocalPlayer *player);
- LocalPlayer *getLocalPlayer() { return m_local_player; }
+ LocalPlayer *getLocalPlayer() const { return m_local_player; }
/*
ClientSimpleObjects