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 54d83f8..0064c2e 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -308,7 +308,7 @@ namespace game {
// Some deletes have to be deferred to the next frame.
std::unordered_set<entity_t*> deletion_list;
- ntime_t time = 0; // game time
+ ntime_t time = 1; // 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)