aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute
diff options
context:
space:
mode:
authorTobia Tesan2014-02-06 00:42:22 +0100
committerTobia Tesan2014-10-15 21:36:44 +0200
commit6d16fdbf4ab9139d368ab7585f9ad1fae5c8a523 (patch)
tree0120c53f24f298c2baabdd9b91f14b98c935bee7 /engines/wintermute
parent647b7217444fbe88f21a99073cb2377092bef9ab (diff)
downloadscummvm-rg350-6d16fdbf4ab9139d368ab7585f9ad1fae5c8a523.tar.gz
scummvm-rg350-6d16fdbf4ab9139d368ab7585f9ad1fae5c8a523.tar.bz2
scummvm-rg350-6d16fdbf4ab9139d368ab7585f9ad1fae5c8a523.zip
WINTERMUTE: Expand subtitles by string table
Diffstat (limited to 'engines/wintermute')
-rw-r--r--engines/wintermute/video/video_subtitle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_subtitle.cpp b/engines/wintermute/video/video_subtitle.cpp
index 0fab6fb2b7..5be22de592 100644
--- a/engines/wintermute/video/video_subtitle.cpp
+++ b/engines/wintermute/video/video_subtitle.cpp
@@ -27,7 +27,7 @@
*/
#include "engines/wintermute/video/video_subtitle.h"
-
+#include "engines/wintermute/base/base_game.h"
namespace Wintermute {
//////////////////////////////////////////////////////////////////////////
@@ -40,7 +40,7 @@ VideoSubtitle::VideoSubtitle(BaseGame *inGame): BaseClass(inGame) {
VideoSubtitle::VideoSubtitle(BaseGame *inGame, char *text, long startFrame, long endFrame): BaseClass(inGame) {
_text = new char[strlen(text) + 1];
strcpy(_text, text);
- // _gameRef->m_StringTable->Expand(&this->text);
+ _gameRef->expandStringByStringTable(&_text);
_startFrame = startFrame;
_endFrame = endFrame;
}