mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
WINTERMUTE: Expand subtitles by string table
This commit is contained in:
parent
647b721744
commit
6d16fdbf4a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user