aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-02 21:40:46 -0400
committerPaul Gilbert2017-10-02 21:40:46 -0400
commit93e18ba7c38f2a700a66dca91dd147748f2dc161 (patch)
tree0376fc28ca5aec81eb298c8876e20fb05d9e94ba /engines/titanic/support
parent9c61afb701f9ebde70730fc4834f4f5b466e1d39 (diff)
downloadscummvm-rg350-93e18ba7c38f2a700a66dca91dd147748f2dc161.tar.gz
scummvm-rg350-93e18ba7c38f2a700a66dca91dd147748f2dc161.tar.bz2
scummvm-rg350-93e18ba7c38f2a700a66dca91dd147748f2dc161.zip
TITANIC: DE: Translation for .avi files directly referred to
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/avi_surface.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index 4b60921e31..4fad6542fa 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -29,6 +29,7 @@
#include "graphics/pixelformat.h"
#include "graphics/screen.h"
#include "video/avi_decoder.h"
+#include "titanic/translation.h"
namespace Titanic {
@@ -57,7 +58,7 @@ AVISurface::AVISurface(const CResourceKey &key) : _movieName(key.getString()) {
_decoder = new AVIDecoder();
// Load the video into it
- if (_movieName == "y222.avi") {
+ if (_movieName == TRANSLATE("y222.avi", "y237.avi")) {
// The y222.avi is the bells animation for the music room.
// It needs on the fly fixing for the video header
_decoder->loadStream(new y222());
@@ -547,7 +548,7 @@ uint AVISurface::getBitDepth() const {
y222::y222() {
_innerStream = new File();
- _innerStream->open("y222.avi");
+ _innerStream->open(TRANSLATE("y222.avi", "y237.avi"));
}
y222::~y222() {