aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorEugene Sandulenko2017-11-18 22:41:41 +0100
committerEugene Sandulenko2017-11-18 22:42:06 +0100
commit34d19ff4245ecc1273a109568b029229c6865ab3 (patch)
tree57d691e56d79e8392e5ea5432e6d7383fe391221 /engines/drascula
parentbcc608ce424406ca7a2f5340ab1862e0314a4787 (diff)
downloadscummvm-rg350-34d19ff4245ecc1273a109568b029229c6865ab3.tar.gz
scummvm-rg350-34d19ff4245ecc1273a109568b029229c6865ab3.tar.bz2
scummvm-rg350-34d19ff4245ecc1273a109568b029229c6865ab3.zip
DRASCULA: Fix ego manipulation for translated versions
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/drascula.cpp2
-rw-r--r--engines/drascula/graphics.cpp2
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)