aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
diff options
context:
space:
mode:
authorThierry Crozat2016-04-16 16:46:38 +0100
committerThierry Crozat2016-04-16 18:59:27 +0100
commiteef83714322b98fbe02249478ad66b88fd4c1fe2 (patch)
treeb61aab7837ba7910beca084387a8e7ad202eb66d /engines/drascula/drascula.cpp
parentaa95183b93dcfaa74e0e732259c87e9b9d39d518 (diff)
downloadscummvm-rg350-eef83714322b98fbe02249478ad66b88fd4c1fe2.tar.gz
scummvm-rg350-eef83714322b98fbe02249478ad66b88fd4c1fe2.tar.bz2
scummvm-rg350-eef83714322b98fbe02249478ad66b88fd4c1fe2.zip
DRASCULA: Swap extraSurface and tableSurface use in chapter 6 for Spanish version
This simplifies the code and bring it closer to the original source code. This should help if we need to debug issues in the future.
Diffstat (limited to 'engines/drascula/drascula.cpp')
-rw-r--r--engines/drascula/drascula.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 75a81c20b0..f20f0202bd 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -359,16 +359,13 @@ Common::Error DrasculaEngine::run() {
for (i = 0; i < 25; i++)
memcpy(crosshairCursor + i * 40, tableSurface + 225 + (56 + i) * 320, 40);
- if (_lang == kSpanish)
- loadPic(currentChapter == 6 ? 97 : 974, tableSurface);
+ if (_lang == kSpanish && currentChapter != 6)
+ loadPic(974, tableSurface);
if (currentChapter != 2) {
loadPic(99, cursorSurface);
loadPic(99, backSurface);
- if (currentChapter == 6 && _lang == kSpanish)
- loadPic(95, extraSurface);
- else
- loadPic(97, extraSurface);
+ loadPic(97, extraSurface);
}
memset(iconName, 0, sizeof(iconName));