summaryrefslogtreecommitdiffhomepage
path: root/Stars45/WeaponDesign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/WeaponDesign.cpp')
-rw-r--r--Stars45/WeaponDesign.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Stars45/WeaponDesign.cpp b/Stars45/WeaponDesign.cpp
index ad9888b..b658c25 100644
--- a/Stars45/WeaponDesign.cpp
+++ b/Stars45/WeaponDesign.cpp
@@ -17,6 +17,7 @@
#include "Weapon.h"
#include "Game.h"
+#include "ContentBundle.h"
#include "Sprite.h"
#include "Light.h"
#include "Bitmap.h"
@@ -466,7 +467,7 @@ WeaponDesign::LoadDesign(const char* path, const char* filename, bool mod)
}
if (design->description.length()) {
- design->description = Game::GetInstance()->GetText(design->description);
+ design->description = ContentBundle::GetInstance()->GetText(design->description);
}
if (design->anim_length > 0) {