aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2015-01-21 12:35:12 +0200
committerFilippos Karapetis2015-01-21 12:36:02 +0200
commit46fe6b64b9bac081384107192b7bcd24fbb255f5 (patch)
tree5da2252a749d336399e35b8bf4fe993bf6411d85 /engines
parentcb25b7b5eea53769fc378dc8ae3d360eca685e74 (diff)
downloadscummvm-rg350-46fe6b64b9bac081384107192b7bcd24fbb255f5.tar.gz
scummvm-rg350-46fe6b64b9bac081384107192b7bcd24fbb255f5.tar.bz2
scummvm-rg350-46fe6b64b9bac081384107192b7bcd24fbb255f5.zip
ZVISION: Properly handle confirmation dialogs in the French ver. of ZGI
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/graphics/render_manager.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp
index a65117f2b5..3cd9701b7c 100644
--- a/engines/zvision/graphics/render_manager.cpp
+++ b/engines/zvision/graphics/render_manager.cpp
@@ -992,7 +992,8 @@ bool RenderManager::askQuestion(const Common::String &str) {
// English: yes/no
// German: ja/nein
// Spanish: si/no
- // French: F4/any other key
+ // French Nemesis: F4/any other key
+ // French ZGI: oui/non
switch (evnt.kbd.keycode) {
case Common::KEYCODE_y:
if (_engine->getLanguage() == Common::EN_ANY)
@@ -1006,15 +1007,19 @@ bool RenderManager::askQuestion(const Common::String &str) {
if (_engine->getLanguage() == Common::ES_ESP)
result = 2;
break;
+ case Common::KEYCODE_o:
+ if (_engine->getLanguage() == Common::FR_FRA && _engine->getGameId() == GID_GRANDINQUISITOR)
+ result = 2;
+ break;
case Common::KEYCODE_F4:
- if (_engine->getLanguage() == Common::FR_FRA)
+ if (_engine->getLanguage() == Common::FR_FRA && _engine->getGameId() == GID_NEMESIS)
result = 2;
break;
case Common::KEYCODE_n:
result = 1;
break;
default:
- if (_engine->getLanguage() == Common::FR_FRA)
+ if (_engine->getLanguage() == Common::FR_FRA && _engine->getGameId() == GID_NEMESIS)
result = 1;
break;
}