mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 15:40:39 +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 in_menu = 0;
|
||||||
// static int32_t tmpdifftime=0;
|
// static int32_t tmpdifftime=0;
|
||||||
|
|
||||||
|
totalclock = 0;
|
||||||
|
ototalclock = 0;
|
||||||
|
lockclock = 0;
|
||||||
|
|
||||||
if (ready2send)
|
if (ready2send)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
@ -11749,6 +11749,8 @@ int32_t app_main(int32_t argc, const char **argv)
|
||||||
|
|
||||||
MAIN_LOOP_RESTART:
|
MAIN_LOOP_RESTART:
|
||||||
totalclock = 0;
|
totalclock = 0;
|
||||||
|
ototalclock = 0;
|
||||||
|
lockclock = 0;
|
||||||
|
|
||||||
M_ChangeMenu(MENU_MAIN);
|
M_ChangeMenu(MENU_MAIN);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue