summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Game.cpp')
-rw-r--r--StarsEx/Game.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/StarsEx/Game.cpp b/StarsEx/Game.cpp
index b7a4fb1..56cb115 100644
--- a/StarsEx/Game.cpp
+++ b/StarsEx/Game.cpp
@@ -130,9 +130,6 @@ void
Game::Activate(bool f)
{
active = f;
-
- if (active && video)
- video->InvalidateCache();
}
// +--------------------------------------------------------------------+
@@ -140,16 +137,7 @@ Game::Activate(bool f)
void
Game::Pause(bool f)
{
- if (f) {
- if (soundcard)
- soundcard->Pause();
- paused = true;
- }
- else {
- if (soundcard)
- soundcard->Resume();
- paused = false;
- }
+ paused = f;
}
// +--------------------------------------------------------------------+