aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h6
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
-