diff options
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r-- | src/clientenvironment.h | 2 |
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 |