From cb4c6e547d07c8188c528312f1f0a1526d57813d Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Mon, 11 Apr 2016 19:57:57 +0100 Subject: DRASCULA: Fix regression in subtitle display in Spanish version This code was committed by mistake in the previous commit. --- engines/drascula/drascula.cpp | 6 +++--- engines/drascula/graphics.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/drascula') diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 6852bdf176..b821e7dbbe 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -365,13 +365,13 @@ Common::Error DrasculaEngine::run() { for (i = 0; i < 25; i++) memcpy(crosshairCursor + i * 40, tableSurface + 225 + (56 + i) * 320, 40); - loadPic(97, extraSurface); - //if (_lang == kSpanish) - // loadPic(974, extraSurface); + if (_lang == kSpanish) + loadPic(974, tableSurface); if (currentChapter != 2) { loadPic(99, cursorSurface); loadPic(99, backSurface); + loadPic(97, extraSurface); } memset(iconName, 0, sizeof(iconName)); diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp index 8a20561adc..4ed949cc99 100644 --- a/engines/drascula/graphics.cpp +++ b/engines/drascula/graphics.cpp @@ -241,7 +241,7 @@ void DrasculaEngine::print_abc(const char *said, int screenX, int screenY) { } // for copyRect(letterX, letterY, screenX, screenY, - CHAR_WIDTH, CHAR_HEIGHT, _lang == kSpanish ? extraSurface : tableSurface, screenSurface); + CHAR_WIDTH, CHAR_HEIGHT, tableSurface, screenSurface); screenX = screenX + CHAR_WIDTH; if (screenX > 317) { -- cgit v1.2.3