[Scummvm-cvs-logs] scummvm master -> fba54843873d9b7d3a4d285c3282a86d1cdea2c3

Strangerke Strangerke at scummvm.org
Sat Feb 8 19:21:54 CET 2014


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:
fba5484387 TSAGE: BF - Fix a bug in scene 570 (entering password)


Commit: fba54843873d9b7d3a4d285c3282a86d1cdea2c3
    https://github.com/scummvm/scummvm/commit/fba54843873d9b7d3a4d285c3282a86d1cdea2c3
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-08T10:20:22-08:00

Commit Message:
TSAGE: BF - Fix a bug in scene 570 (entering password)

Changed paths:
    engines/tsage/blue_force/blueforce_scenes5.cpp



diff --git a/engines/tsage/blue_force/blueforce_scenes5.cpp b/engines/tsage/blue_force/blueforce_scenes5.cpp
index 101a39c..d3ea36a 100644
--- a/engines/tsage/blue_force/blueforce_scenes5.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes5.cpp
@@ -1623,7 +1623,7 @@ void Scene570::PasswordEntry::process(Event &event) {
 
 			checkPassword();
 			remove();
-		} else if ((key >= 32) || (key <= 126)) {
+		} else if ((key >= 32) && (key <= 126)) {
 			// Valid character pressed
 			if (_entryBuffer.size() < 10)
 				_entryBuffer += (char)key;






More information about the Scummvm-git-logs mailing list