From f673971c50ca968d3ddb16b780a389f5627418e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Tue, 22 Jun 2021 14:58:38 +0700 Subject: Fix possible division by zero and clean up --- src/GameLoop.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/GameLoop.cpp') diff --git a/src/GameLoop.cpp b/src/GameLoop.cpp index fe7292f..3a9e8a0 100644 --- a/src/GameLoop.cpp +++ b/src/GameLoop.cpp @@ -346,6 +346,7 @@ void Game::EventLoop( void ) int colaccuracy,i; GLfloat oldmult; gQuit = false; + framespersecond = 60; while ( gQuit == false ) { ProcessSDLEvents(this); start=TimerGetTime(&theTimer); -- cgit v1.2.3