diff options
author | Aki <please@ignore.pl> | 2022-02-23 23:36:37 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-02-23 23:36:37 +0100 |
commit | 0da933a0146a0689546b21231e14f2dfc2bc14e8 (patch) | |
tree | b917762280e2094d77fae2a607d6ad3151174fce /Stars45/Weather.cpp | |
parent | 8b778dda61c45f5d7a4dc416478c42ff4aa1de7f (diff) | |
download | starshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.zip starshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.tar.gz starshatter-0da933a0146a0689546b21231e14f2dfc2bc14e8.tar.bz2 |
Switched to use ContentBundle's GetText
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; } |