aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)