diff options
author | Arnaud Boutonné | 2011-01-25 00:32:48 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-25 00:32:48 +0000 |
commit | 2846ce14f35afc029fe058b3ed50c229ef856615 (patch) | |
tree | e44461ea67bd915b730d6d68fc8470243e3b15a5 /engines/hugo/util.cpp | |
parent | 45a4dfa44d595d3c81858b46f9896fdbf6ea02ad (diff) | |
download | scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.tar.gz scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.tar.bz2 scummvm-rg350-2846ce14f35afc029fe058b3ed50c229ef856615.zip |
HUGO: Move text arrays to a separate class
svn-id: r55507
Diffstat (limited to 'engines/hugo/util.cpp')
-rw-r--r-- | engines/hugo/util.cpp | 3 |
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) { |