diff options
Diffstat (limited to 'Stars45/Weather.cpp')
-rw-r--r-- | Stars45/Weather.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Stars45/Weather.cpp b/Stars45/Weather.cpp index 2f626ea..9c2b170 100644 --- a/Stars45/Weather.cpp +++ b/Stars45/Weather.cpp @@ -15,6 +15,7 @@ #include "Weather.h" #include "StarSystem.h" #include "Game.h" +#include "ContentBundle.h" // +--------------------------------------------------------------------+ @@ -149,27 +150,27 @@ Weather::Description() const switch (state) { default: case CLEAR: - description = Game::GetInstance()->GetText("weather.clear"); + description = ContentBundle::GetInstance()->GetText("weather.clear"); break; case HIGH_CLOUDS: - description = Game::GetInstance()->GetText("weather.high-clouds"); + description = ContentBundle::GetInstance()->GetText("weather.high-clouds"); break; case MODERATE_CLOUDS: - description = Game::GetInstance()->GetText("weather.partly-cloudy"); + description = ContentBundle::GetInstance()->GetText("weather.partly-cloudy"); break; case OVERCAST: - description = Game::GetInstance()->GetText("weather.overcast"); + description = ContentBundle::GetInstance()->GetText("weather.overcast"); break; case FOG: - description = Game::GetInstance()->GetText("weather.fog"); + description = ContentBundle::GetInstance()->GetText("weather.fog"); break; case STORM: - description = Game::GetInstance()->GetText("weather.storm"); + description = ContentBundle::GetInstance()->GetText("weather.storm"); break; } |