aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-07-23 09:41:59 +0200
committerStrangerke2013-07-23 09:41:59 +0200
commit877fc1f8b9796a933a4e79f1af4a3a9634cd4e1f (patch)
tree48030e40f1fe20ec27c328a7561745129fb3a480
parentdcdf68b0a62391e8ea13464b42eb0f0c1caa8b4b (diff)
downloadscummvm-rg350-877fc1f8b9796a933a4e79f1af4a3a9634cd4e1f.tar.gz
scummvm-rg350-877fc1f8b9796a933a4e79f1af4a3a9634cd4e1f.tar.bz2
scummvm-rg350-877fc1f8b9796a933a4e79f1af4a3a9634cd4e1f.zip
MORTEVIELLE: Clarify a part of taffich
-rw-r--r--engines/mortevielle/outtext.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/mortevielle/outtext.cpp b/engines/mortevielle/outtext.cpp
index 3164b51e5d..e14fff0227 100644
--- a/engines/mortevielle/outtext.cpp
+++ b/engines/mortevielle/outtext.cpp
@@ -247,9 +247,11 @@ void TextHandler::taffich() {
else
filename = "DZZ.mor";
- drawingSize = _vm->_drawingSizeArr[87];
- if (a == 51) {
- drawingStartPos = drawingSize;
+ if (a == 50) {
+ drawingStartPos = 0;
+ drawingSize = _vm->_drawingSizeArr[87];
+ } else { // a == 51
+ drawingStartPos = _vm->_drawingSizeArr[87];
drawingSize = _vm->_drawingSizeArr[88];
}
_vm->_maff = a;
@@ -290,7 +292,8 @@ void TextHandler::taffich() {
} else if (b == 50) {
// CHECKME: the size of AZZ.mor is 1280 for the DOS version
// and 1260 for the Amiga version. Maybe the 20 bytes
- // are a filler, or the size should be variable.
+ // are a filler (to get 10 blocks of 128 bytes),
+ // or the size should be variable.
drawingSize = 1260;
filename = "AZZ.mor";
}