From 34510ae9b33b48fccc3eed249a134c2373c9a5c0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 30 Aug 2020 08:03:03 +0200 Subject: [PATCH] - added ticker stub to the game interface. --- source/core/gamestruct.h | 1 + source/core/mainloop.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/core/gamestruct.h b/source/core/gamestruct.h index fa553dcb1..6e41b2edb 100644 --- a/source/core/gamestruct.h +++ b/source/core/gamestruct.h @@ -96,6 +96,7 @@ struct GameInterface virtual void UpdateSounds() {} virtual void ErrorCleanup() {} virtual void Render() {} + virtual void Ticker() {} }; diff --git a/source/core/mainloop.cpp b/source/core/mainloop.cpp index 598c992b4..1ee24e759 100644 --- a/source/core/mainloop.cpp +++ b/source/core/mainloop.cpp @@ -278,7 +278,7 @@ void TryRunTics (void) //if (debugfile) fprintf (debugfile, "run tic %d\n", gametic); C_Ticker (); M_Ticker (); - //G_Ticker(); + gi->Ticker(); gametic++; NetUpdate (); // check for new console commands