summaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/environment.h b/src/environment.h
index 8cc0bcd7e..d99e27ba4 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -105,6 +105,9 @@ public:
m_day_night_ratio_override = value;
}
+ // counter used internally when triggering ABMs
+ u32 m_added_objects;
+
protected:
// peer_ids in here should be unique, except that there may be many 0s
std::list<Player*> m_players;
@@ -118,6 +121,7 @@ protected:
// Overriding the day-night ratio is useful for custom sky visuals
bool m_enable_day_night_ratio_override;
u32 m_day_night_ratio_override;
+
};
/*