aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/mortevielle.cpp
diff options
context:
space:
mode:
authorStrangerke2012-03-03 00:23:27 +0100
committerStrangerke2012-04-06 08:22:26 +0200
commitb2b16cefce08dbdad76b9057ff97d08c7e14c56e (patch)
tree6e449e0a4dd034ffafc1af5bbddad8e31d20930f /engines/mortevielle/mortevielle.cpp
parent7764caaadee89b9eb1922acc93abf157ce84e4f7 (diff)
downloadscummvm-rg350-b2b16cefce08dbdad76b9057ff97d08c7e14c56e.tar.gz
scummvm-rg350-b2b16cefce08dbdad76b9057ff97d08c7e14c56e.tar.bz2
scummvm-rg350-b2b16cefce08dbdad76b9057ff97d08c7e14c56e.zip
MORTEVIELLE: rename more globals and constants, remove t_nhom usage
Diffstat (limited to 'engines/mortevielle/mortevielle.cpp')
-rw-r--r--engines/mortevielle/mortevielle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mortevielle/mortevielle.cpp b/engines/mortevielle/mortevielle.cpp
index dceb5c7d55..4a410f0b81 100644
--- a/engines/mortevielle/mortevielle.cpp
+++ b/engines/mortevielle/mortevielle.cpp
@@ -134,7 +134,7 @@ Common::ErrorCode MortevielleEngine::initialise() {
return result;
// Load some error messages (was previously in chartex())
- _hintPctMessage = deline(580); // You should have noticed %d hints
+ g_hintPctMessage = deline(580); // You should have noticed %d hints
// Set default EGA palette
_paletteManager.setDefaultPalette();
@@ -585,7 +585,7 @@ void MortevielleEngine::handleAction() {
if (g_choisi && (g_msg[3] == MENU_LOAD))
g_vm->_savegameManager.loadGame((g_msg[4] & 7) - 1);
if (inkey == '\103') { /* F9 */
- temps = Alert::show(_hintPctMessage, 1);
+ temps = Alert::show(g_hintPctMessage, 1);
return;
} else if (inkey == '\77') {
if ((g_mnumo != OPCODE_NONE) && ((g_msg[3] == MENU_ACTION) || (g_msg[3] == MENU_SELF))) {
@@ -622,7 +622,7 @@ void MortevielleEngine::handleAction() {
oo = true;
if ((g_msg[4] == OPCODE_LIFT) || (g_obpart)) {
finfouil();
- g_caff = g_s.mlieu;
+ g_caff = g_s._mlieu;
g_crep = 998;
} else
tsuiv();