diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-23 09:52:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-23 09:52:40 +0200 |
commit | 91a9382c25328075d1a27593b22b0a75863951e1 (patch) | |
tree | c0806621a7af000f31360a78d486d8e25f3bf52f /src/environment.h | |
parent | 0c34fe20a101f3e9297b3ffab4e8b736a55a558f (diff) | |
download | hax-minetest-server-91a9382c25328075d1a27593b22b0a75863951e1.tar.gz hax-minetest-server-91a9382c25328075d1a27593b22b0a75863951e1.zip |
Pass clang-format on various cpp/header files (#5559)
Diffstat (limited to 'src/environment.h')
-rw-r--r-- | src/environment.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/environment.h b/src/environment.h index 52f369817..1de13e9ed 100644 --- a/src/environment.h +++ b/src/environment.h @@ -58,7 +58,7 @@ public: */ virtual void step(f32 dtime) = 0; - virtual Map & getMap() = 0; + virtual Map &getMap() = 0; u32 getDayNightRatio(); @@ -78,7 +78,7 @@ public: // counter used internally when triggering ABMs u32 m_added_objects; - IGameDef* getGameDef() { return m_gamedef; } + IGameDef *getGameDef() { return m_gamedef; } protected: GenericAtomic<float> m_time_of_day_speed; @@ -117,6 +117,7 @@ protected: float m_cache_nodetimer_interval; IGameDef *m_gamedef; + private: Mutex m_time_lock; @@ -124,4 +125,3 @@ private: }; #endif - |