aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw_v2.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2010-08-17 07:41:15 +0000
committerArnaud Boutonné2010-08-17 07:41:15 +0000
commit8ed0a70b0622bcb1daf86975f18a9b932eccd8de (patch)
tree589282946967b54fba57443810d64f4b9bee4ca1 /engines/gob/draw_v2.cpp
parent0bfb74fd5723c8bd6aba30a67fdcd73fd5fc5d9b (diff)
downloadscummvm-rg350-8ed0a70b0622bcb1daf86975f18a9b932eccd8de.tar.gz
scummvm-rg350-8ed0a70b0622bcb1daf86975f18a9b932eccd8de.tar.bz2
scummvm-rg350-8ed0a70b0622bcb1daf86975f18a9b932eccd8de.zip
Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV for identifying the problem
svn-id: r52135
Diffstat (limited to 'engines/gob/draw_v2.cpp')
-rw-r--r--engines/gob/draw_v2.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp
index 5d001f4b59..4ecb759e9d 100644
--- a/engines/gob/draw_v2.cpp
+++ b/engines/gob/draw_v2.cpp
@@ -230,7 +230,10 @@ void Draw_v2::printTotText(int16 id) {
destX = (READ_LE_UINT16(ptr) & 0x7FFF) * 2;
spriteRight = READ_LE_UINT16(ptr + 4) * 2 + 1;
} else {
- destX = READ_LE_UINT16(ptr) & 0x7FFF;
+// No mask used for Fascination
+ destX = READ_LE_UINT16(ptr);
+ if (_vm->getGameType() != kGameTypeFascination)
+ destX &= 0x7FFF;
spriteRight = READ_LE_UINT16(ptr + 4);
}