summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Weapon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Weapon.cpp')
-rw-r--r--Stars45/Weapon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/Weapon.cpp b/Stars45/Weapon.cpp
index 45483a0..4d3eaa5 100644
--- a/Stars45/Weapon.cpp
+++ b/Stars45/Weapon.cpp
@@ -25,6 +25,7 @@
#include "NetUtil.h"
#include "Game.h"
+#include "ContentBundle.h"
#include "Solid.h"
// +----------------------------------------------------------------------+
@@ -45,9 +46,9 @@ Weapon::Weapon(WeaponDesign* d, int nmuz, Vec3* muzzles, double az, double el)
ZeroMemory(visible_stores, sizeof(visible_stores));
if (design->primary)
- abrv = Game::GetInstance()->GetText("sys.weapon.primary.abrv");
+ abrv = ContentBundle::GetInstance()->GetText("sys.weapon.primary.abrv");
else
- abrv = Game::GetInstance()->GetText("sys.weapon.secondary.abrv");
+ abrv = ContentBundle::GetInstance()->GetText("sys.weapon.secondary.abrv");
nbarrels = nmuz;