diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-08-07 23:13:07 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-08-07 23:13:07 +0000 |
commit | 08a97e2f39961a79dd57e7310626408b20c5d9e8 (patch) | |
tree | f6cebdc6e07ae0b4af5c40d84451ad5cacf073f4 /src/game.c | |
parent | c55491b4c777c1ae835a16f8969e0e8dede9a030 (diff) |
Measure and subtract physics time from the wait
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@233 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -292,7 +292,8 @@ Game *game_new(int width, int height, GameOptions gameopts) { g->t_fps = SDL_GetTicks(); g->fps = 0; g->query_this_frame = 1; - g->time_to_render = 0; + g->time_render = 30000; + g->time_physics = 0; g->fuel = 1.0; g->radiation = 0.1; g->platform_rel_x = 0.0; |