From f2a2e1d8b30dd8ab7a67aa6edaf065f221342fa5 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sun, 8 Mar 2015 23:40:08 +0000 Subject: [PATCH] Amend r5048 to also reset ototalclock and lockclock, and to reset all three at the top of G_PlaybackDemo. git-svn-id: https://svn.eduke32.com/eduke32@5052 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/demo.c | 4 ++++ polymer/eduke32/source/game.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/polymer/eduke32/source/demo.c b/polymer/eduke32/source/demo.c index 87e32ba8b..823c90b1f 100644 --- a/polymer/eduke32/source/demo.c +++ b/polymer/eduke32/source/demo.c @@ -486,6 +486,10 @@ int32_t G_PlaybackDemo(void) static int32_t in_menu = 0; // static int32_t tmpdifftime=0; + totalclock = 0; + ototalclock = 0; + lockclock = 0; + if (ready2send) return 0; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index c5de0e364..f82b631dd 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -11749,6 +11749,8 @@ int32_t app_main(int32_t argc, const char **argv) MAIN_LOOP_RESTART: totalclock = 0; + ototalclock = 0; + lockclock = 0; M_ChangeMenu(MENU_MAIN);