diff options
Diffstat (limited to 'Stars45/FadeView.cpp')
-rw-r--r-- | Stars45/FadeView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/FadeView.cpp b/Stars45/FadeView.cpp index bee2579..16575b9 100644 --- a/Stars45/FadeView.cpp +++ b/Stars45/FadeView.cpp @@ -55,10 +55,10 @@ FadeView::Refresh() double msec = 0; if (state == StateStart) { - time = Game::RealTime(); + time = Game::GetInstance()->RealTime(); } else if (state != StateDone) { - double new_time = Game::RealTime(); + double new_time = Game::GetInstance()->RealTime(); msec = new_time - time; time = new_time; } |