[Scummvm-git-logs] scummvm master -> 34d19ff4245ecc1273a109568b029229c6865ab3

sev- sev at scummvm.org
Sat Nov 18 22:42:20 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
34d19ff424 DRASCULA: Fix ego manipulation for translated versions


Commit: 34d19ff4245ecc1273a109568b029229c6865ab3
    https://github.com/scummvm/scummvm/commit/34d19ff4245ecc1273a109568b029229c6865ab3
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-11-18T22:42:06+01:00

Commit Message:
DRASCULA: Fix ego manipulation for translated versions

Changed paths:
    engines/drascula/drascula.cpp
    engines/drascula/graphics.cpp


diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 3f840b0..824f1ff 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 dfe012a..2ed1468 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)





More information about the Scummvm-git-logs mailing list