summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 8c2f21b..b4c16c6 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -258,7 +258,7 @@ namespace game {
std::unordered_set<entity_t*> awake_entities;
std::unordered_set<unit_t*> selected_units;
- ntime_t time; // game time
+ ntime_t time = 0; // game time
double now, dt; // FIXME: refactor the code, use ntime_t everywhere
// frame timing data (game runs at a different frequency than the renderer)