diff options
author | Strangerke | 2012-02-24 10:54:43 +0100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:21:53 +0200 |
commit | 9efa50c6e418bf707648b056230f1a2d22b3eacb (patch) | |
tree | 23c174da8d32b343365b317dd3a76df6c2e484b2 /engines/mortevielle/actions.cpp | |
parent | aeb901571356181d85f8d92515379a076d142e31 (diff) | |
download | scummvm-rg350-9efa50c6e418bf707648b056230f1a2d22b3eacb.tar.gz scummvm-rg350-9efa50c6e418bf707648b056230f1a2d22b3eacb.tar.bz2 scummvm-rg350-9efa50c6e418bf707648b056230f1a2d22b3eacb.zip |
MORTEVIELLE: rename variables in Ques::show(), fix remaining glitches
Diffstat (limited to 'engines/mortevielle/actions.cpp')
-rw-r--r-- | engines/mortevielle/actions.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp index eb8bf87061..1f83c5c6a7 100644 --- a/engines/mortevielle/actions.cpp +++ b/engines/mortevielle/actions.cpp @@ -621,7 +621,7 @@ void fctOpen() { * @remarks Originally called 'tmettre' */ void fctPlace() { - bool entre; + bool enterPassageFl; char st[1410]; Common::String str_; int i, tay; @@ -663,17 +663,20 @@ void fctPlace() { else { s.icave = s.derobj; if (s.derobj == 151) { + // Open hidden passage aniof(1, 2); aniof(1, 1); repon(2, 165); maivid(); parole(6, -9, 1); + + // Do you want to enter the hidden passage? int answer = Alert::show(g_vm->getString(S_YES_NO), 1); if (answer== 1) { deline(582, st, tay); i = Alert::show(delig, 1); tesok = false; - entre = Ques::show(); + enterPassageFl = Ques::show(); hideMouse(); hirs(); dessine_rouleau(); @@ -688,7 +691,7 @@ void fctPlace() { person(); g_vm->_menu.menu_aff(); - if (entre) { + if (enterPassageFl) { s.mlieu = 17; tmlieu(17); } else { |