From 076f69f12ba4000a9c307e803e05827d037d1ff6 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 21 Apr 2018 17:54:33 +0200 Subject: Start the game with time = 1. --- src/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 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) -- cgit