aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r--engines/hugo/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp
index 212f10b36d..f8f9f5a0a5 100644
--- a/engines/hugo/util.cpp
+++ b/engines/hugo/util.cpp
@@ -37,6 +37,7 @@
#include "hugo/hugo.h"
#include "hugo/util.h"
#include "hugo/sound.h"
+#include "hugo/text.h"
namespace Hugo {
@@ -143,7 +144,7 @@ char *Utils::Box(box_t dismiss, const char *s, ...) {
* Print options for user when dead
*/
void Utils::gameOverMsg(void) {
- Utils::Box(kBoxOk, "%s", HugoEngine::get()._textUtil[kGameOver]);
+ Utils::Box(kBoxOk, "%s", HugoEngine::get()._text->getTextUtil(kGameOver));
}
char *Utils::strlwr(char *buffer) {