]> git.lizzy.rs Git - minetest.git/blobdiff - src/clientenvironment.h
Biome dust placement: Improve comments, re-order some lines
[minetest.git] / src / clientenvironment.h
index be8130828a5c35285129501272b778585230e241..12070afec723c275f51b3b61415b816b3fabdbab 100644 (file)
@@ -19,8 +19,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 
 #pragma once
 
-#include <ISceneManager.h>
 #include "environment.h"
+#include <ISceneManager.h>
 #include "clientobject.h"
 #include "util/numeric.h"
 
@@ -78,7 +78,7 @@ class ClientEnvironment : public Environment
        void step(f32 dtime);
 
        virtual void setLocalPlayer(LocalPlayer *player);
-       LocalPlayer *getLocalPlayer() { return m_local_player; }
+       LocalPlayer *getLocalPlayer() const { return m_local_player; }
 
        /*
                ClientSimpleObjects