summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Game.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-08 18:17:59 +0100
committerAki <please@ignore.pl>2022-03-08 18:17:59 +0100
commitb563a07d9fcaa58514eeb3ec78438db56ecf2e63 (patch)
treef048c6cbc09787e64572362cb7fe0e2f5f92cca0 /Stars45/Game.cpp
parentf725e598935860d15099a0310a3aef7197a58e9c (diff)
downloadstarshatter-b563a07d9fcaa58514eeb3ec78438db56ecf2e63.zip
starshatter-b563a07d9fcaa58514eeb3ec78438db56ecf2e63.tar.gz
starshatter-b563a07d9fcaa58514eeb3ec78438db56ecf2e63.tar.bz2
Replaced GetRealTime uses with Game->Clock equivalent
Diffstat (limited to 'Stars45/Game.cpp')
-rw-r--r--Stars45/Game.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Stars45/Game.cpp b/Stars45/Game.cpp
index 92937e6..97de488 100644
--- a/Stars45/Game.cpp
+++ b/Stars45/Game.cpp
@@ -1244,15 +1244,6 @@ Game::GetClock()
return &clock;
}
-
-DWORD GetRealTime()
-{
- Game* game = Game::GetInstance();
- if (game)
- return game->RealTime();
- return 0;
-}
-
DWORD Game::RealTime()
{
return clock.RealTime();