diff options
Diffstat (limited to 'engines/hugo/sound.cpp')
-rw-r--r-- | engines/hugo/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp index 3099cd3866..190145b0f5 100644 --- a/engines/hugo/sound.cpp +++ b/engines/hugo/sound.cpp @@ -42,6 +42,7 @@ #include "hugo/game.h" #include "hugo/file.h" #include "hugo/sound.h" +#include "hugo/text.h" namespace Hugo { @@ -478,7 +479,7 @@ void SoundHandler::loadIntroSong(Common::File &in) { for (int varnt = 0; varnt < _vm->_numVariant; varnt++) { uint16 numBuf = in.readUint16BE(); if (varnt == _vm->_gameVariant) - DOSIntroSong = _vm->_textData[numBuf]; + DOSIntroSong = _vm->_text->getTextData(numBuf); } } |