mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
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:
parent
1f93451ea0
commit
f2a2e1d8b3
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue