aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/mouse.cpp
diff options
context:
space:
mode:
authorStrangerke2012-03-10 08:21:09 +0100
committerStrangerke2012-04-06 08:23:05 +0200
commit60730190832def71a6f36eec5f86ade96a705709 (patch)
tree1aa30ec8651732bb5c96d807aa2e428df0a29687 /engines/mortevielle/mouse.cpp
parent78b3939168a3b77e7087c2844fe10e94a6402d74 (diff)
downloadscummvm-rg350-60730190832def71a6f36eec5f86ade96a705709.tar.gz
scummvm-rg350-60730190832def71a6f36eec5f86ade96a705709.tar.bz2
scummvm-rg350-60730190832def71a6f36eec5f86ade96a705709.zip
MORTEVIELLE: Move some more globals, get rid of some others
Diffstat (limited to 'engines/mortevielle/mouse.cpp')
-rw-r--r--engines/mortevielle/mouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mortevielle/mouse.cpp b/engines/mortevielle/mouse.cpp
index 8ae863523d..1240fa4165 100644
--- a/engines/mortevielle/mouse.cpp
+++ b/engines/mortevielle/mouse.cpp
@@ -86,7 +86,7 @@ void hideMouse() {
if (mouse_shwn == 0) {
bool imp = odd(y_s);
int j = p_o_s;
- switch (g_currGraphicalDevice) {
+ switch (g_vm->_currGraphicalDevice) {
case MODE_CGA: {
int k = 0;
j = ((uint)y_s >> 1) * 80 + ((uint)x_s >> 2);
@@ -182,7 +182,7 @@ void showMouse() {
int j = p_o_s;
bool imp = odd(y_s);
int i = x_s & 7;
- switch (g_currGraphicalDevice) {
+ switch (g_vm->_currGraphicalDevice) {
case MODE_CGA:
k = 0;
j = ((uint)y_s >> 1) * 80 + ((uint)x_s >> 2);