summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Shield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Shield.cpp')
-rw-r--r--Stars45/Shield.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/Shield.cpp b/Stars45/Shield.cpp
index e330ba4..c287e7b 100644
--- a/Stars45/Shield.cpp
+++ b/Stars45/Shield.cpp
@@ -17,6 +17,7 @@
#include "WeaponDesign.h"
#include "Game.h"
+#include "ContentBundle.h"
// +----------------------------------------------------------------------+
@@ -38,8 +39,8 @@ Shield::Shield(SUBTYPE shield_type)
shield_cutoff(0.0f), shield_capacitor(false), shield_bubble(false),
deflection_cost(1.0f), shield_curve(0.05f)
{
- name = Game::GetInstance()->GetText(shield_name[shield_type]);
- abrv = Game::GetInstance()->GetText("sys.shield.abrv");
+ name = ContentBundle::GetInstance()->GetText(shield_name[shield_type]);
+ abrv = ContentBundle::GetInstance()->GetText("sys.shield.abrv");
power_flags = POWER_WATTS | POWER_CRITICAL;
energy = 0.0f;