aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mortevielle/mortevielle.h2
-rw-r--r--engines/mortevielle/utils.cpp7
2 files changed, 5 insertions, 4 deletions
diff --git a/engines/mortevielle/mortevielle.h b/engines/mortevielle/mortevielle.h
index 371c812508..6f77643186 100644
--- a/engines/mortevielle/mortevielle.h
+++ b/engines/mortevielle/mortevielle.h
@@ -69,7 +69,7 @@ const int kAdrPictureComp = 0x7000;
const int kAdrCompMusicBuf1 = 0x7414;
const int kAdrCompMusicBuf2 = 0x3800;
-const int kAdrDecBuffer = 0x73A2;
+const int kAdrRightFramePic = 0x73A2;
#define ord(v) ((int) v)
#define chr(v) ((unsigned char) v)
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 5bf84d9c7b..0cad1636d9 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -2254,7 +2254,7 @@ void MortevielleEngine::drawRightFrame() {
_mem[(kAdrPictureComp * 16) + 14] = 15;
}
_mouse.hideMouse();
- pictout(kAdrDecBuffer, 0, 0, 0);
+ pictout(kAdrRightFramePic, 0, 0, 0);
_mouse.showMouse();
}
@@ -2562,13 +2562,14 @@ void MortevielleEngine::adzon() {
if (!f.open("bmor.mor"))
error("Missing file - bmor.mor");
- f.read(&_tabdon[kFleche], 1 * 1916);
+ f.read(&_tabdon[kFleche], 1916);
f.close();
+ // Read Right Frame Drawing
if (!f.open("dec.mor"))
error("Missing file - dec.mor");
- f.read(&_mem[kAdrDecBuffer * 16], 1664);
+ f.read(&_mem[kAdrRightFramePic * 16], 1664);
f.close();
}