diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-22 14:58:38 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-06-22 14:58:38 +0700 |
| commit | f673971c50ca968d3ddb16b780a389f5627418e2 (patch) | |
| tree | 81bdbc0cd9ae7ae232b0a0f1c9842927cb82e68f /src/GameLoop.cpp | |
| parent | 1fda9269f0c2d505368abf3ab9ca5ef88886b7e9 (diff) | |
| download | blackshades-f673971c50ca968d3ddb16b780a389f5627418e2.tar.gz | |
Fix possible division by zero and clean up
Diffstat (limited to 'src/GameLoop.cpp')
| -rw-r--r-- | src/GameLoop.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
