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
This commit is contained in:
hendricks266 2015-03-08 23:40:08 +00:00
parent 1f93451ea0
commit f2a2e1d8b3
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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);