aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/actions.cpp
diff options
context:
space:
mode:
authorStrangerke2012-03-07 23:44:12 +0100
committerStrangerke2012-04-06 08:22:56 +0200
commit09c157b3b33122b645f93c81f8b524caabbd62d5 (patch)
treedf40929c3681ec3ff54a127297b18d61bde422db /engines/mortevielle/actions.cpp
parent6217fa5e3ee08790cfe5b775256740eeec8a0a1a (diff)
downloadscummvm-rg350-09c157b3b33122b645f93c81f8b524caabbd62d5.tar.gz
scummvm-rg350-09c157b3b33122b645f93c81f8b524caabbd62d5.tar.bz2
scummvm-rg350-09c157b3b33122b645f93c81f8b524caabbd62d5.zip
MORTEVIELLE: Some more renaming. Move globals to the MortevielleEngine class
Diffstat (limited to 'engines/mortevielle/actions.cpp')
-rw-r--r--engines/mortevielle/actions.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mortevielle/actions.cpp b/engines/mortevielle/actions.cpp
index 8f30e0da6b..d4a53780e1 100644
--- a/engines/mortevielle/actions.cpp
+++ b/engines/mortevielle/actions.cpp
@@ -1138,8 +1138,8 @@ void fctEnter() {
g_s._teauto[8] = '*';
} else {
int z = 0;
- if (!g_blo)
- t11(g_ment, z);
+ if (!g_vm->g_blo)
+ z = t11(g_ment);
if (z != 0) {
if ((g_ment == 3) || (g_ment == 7))
g_crep = 179;
@@ -1297,8 +1297,8 @@ void fctWait() {
do {
++g_jh;
tinke();
- if (!g_blo)
- t11(g_s._currPlace, quel);
+ if (!g_vm->g_blo)
+ quel = t11(g_s._currPlace);
if ((g_ipers != 0) && (g_mpers == 0)) {
g_crep = 998;
if ((g_s._currPlace == ATTIC) || (g_s._currPlace == CELLAR))