aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorStrangerke2014-02-08 19:20:22 +0100
committerStrangerke2014-02-08 19:20:22 +0100
commitfba54843873d9b7d3a4d285c3282a86d1cdea2c3 (patch)
tree666077d7fa30fdaf58ed3f301c05572091293aed /engines/tsage
parent3c77b717b3b12969e77ecc028bed6eb3c6f77c20 (diff)
downloadscummvm-rg350-fba54843873d9b7d3a4d285c3282a86d1cdea2c3.tar.gz
scummvm-rg350-fba54843873d9b7d3a4d285c3282a86d1cdea2c3.tar.bz2
scummvm-rg350-fba54843873d9b7d3a4d285c3282a86d1cdea2c3.zip
TSAGE: BF - Fix a bug in scene 570 (entering password)
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes5.cpp b/engines/tsage/blue_force/blueforce_scenes5.cpp
index 101a39c4b7..d3ea36a078 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;