From 34d19ff4245ecc1273a109568b029229c6865ab3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 18 Nov 2017 22:41:41 +0100 Subject: DRASCULA: Fix ego manipulation for translated versions --- engines/drascula/drascula.cpp | 2 +- engines/drascula/graphics.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 3f840b0901..824f1ffe53 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -781,7 +781,7 @@ bool DrasculaEngine::verify2() { if (pickupObject()) return true; } else { - if (!strcmp(textName, "hacker") && _hasName) { + if (!strcmp(textName, _textmisc[3]) && _hasName) { if (checkAction(50)) return true; } else { diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp index dfe012a2ef..2ed1468477 100644 --- a/engines/drascula/graphics.cpp +++ b/engines/drascula/graphics.cpp @@ -76,7 +76,7 @@ void DrasculaEngine::moveCursor() { moveCharacters(); updateRefresh(); - if (!strcmp(textName, "hacker") && _hasName) { + if (!strcmp(textName, _textmisc[3]) && _hasName) { if (_color != kColorRed && !_menuScreen) color_abc(kColorRed); } else if (!_menuScreen && _color != kColorLightGreen) -- cgit v1.2.3