summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-02 20:23:33 +0100
committerAki <please@ignore.pl>2022-03-02 20:23:33 +0100
commit8411e2f5cc2c4a40cf081cd553a45cdda5c1d7e3 (patch)
treee5146a287a8669b86de742a17a66c1aaf117e076
parent8f65086736ae28e786bb07672fc43b300464494b (diff)
downloadstarshatter-8411e2f5cc2c4a40cf081cd553a45cdda5c1d7e3.zip
starshatter-8411e2f5cc2c4a40cf081cd553a45cdda5c1d7e3.tar.gz
starshatter-8411e2f5cc2c4a40cf081cd553a45cdda5c1d7e3.tar.bz2
Removed unused base_game_time
-rw-r--r--Stars45/Game.cpp2
-rw-r--r--Stars45/Game.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp
index 39c502e..82b20d8 100644
--- a/Stars45/Game.cpp
+++ b/Stars45/Game.cpp
@@ -55,7 +55,6 @@ Game::Game()
paused = false;
server = false;
show_mouse = false;
- base_game_time = 0;
real_time = 0;
game_time = 0;
time_comp = 1;
@@ -321,7 +320,6 @@ Game::InitInstance(HINSTANCE hInstance, int nCmdShow)
hInst = hInstance;
// initialize the game timer:
- base_game_time = 0;
QueryPerformanceFrequency(&perf_freq);
QueryPerformanceCounter(&perf_cnt1);
diff --git a/Stars45/Game.h b/Stars45/Game.h
index 4e691de..694a905 100644
--- a/Stars45/Game.h
+++ b/Stars45/Game.h
@@ -182,7 +182,6 @@ protected:
bool paused;
bool server;
bool show_mouse;
- DWORD base_game_time;
DWORD real_time;
DWORD game_time;
DWORD time_comp;