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