diff options
Diffstat (limited to 'StarsEx/Sim.cpp')
-rw-r--r-- | StarsEx/Sim.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/StarsEx/Sim.cpp b/StarsEx/Sim.cpp index 36d5356..7249d82 100644 --- a/StarsEx/Sim.cpp +++ b/StarsEx/Sim.cpp @@ -1553,7 +1553,7 @@ Sim::ExecFrame(double seconds) // setup music if (!MusicDirector::IsNoMusic()) { Starshatter* stars = Starshatter::GetInstance(); - if (stars && stars->GetGameMode() == Starshatter::PLAY_MODE) { + if (stars && stars->GetGameMode() == Game::PLAY_MODE) { Ship* player_ship = GetPlayerShip(); if (player_ship) { int phase = player_ship->GetFlightPhase(); @@ -3251,7 +3251,7 @@ SimRegion::DestroyShip(Ship* ship) if (player_destroyed) { Starshatter* stars = Starshatter::GetInstance(); if (stars) - stars->SetGameMode(Starshatter::PLAN_MODE); + stars->SetGameMode(Game::PLAN_MODE); } } @@ -3386,7 +3386,7 @@ SimRegion::DockShips() // close mission, return to menu: Starshatter* stars = Starshatter::GetInstance(); if (stars) - stars->SetGameMode(Starshatter::PLAN_MODE); + stars->SetGameMode(Game::PLAN_MODE); } if (carrier) |