aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/snail.cpp
diff options
context:
space:
mode:
authoruruk2014-06-13 17:02:17 +0200
committeruruk2014-06-13 17:02:17 +0200
commitbad8e7ea26a645affa74e2971fdac87e4afc20e7 (patch)
treeac10c7c60b41c5f99a1c93eb8324ac6be12243d2 /engines/cge2/snail.cpp
parent2ad2be370e6464a660170ff19a0c74d6fb77e055 (diff)
downloadscummvm-rg350-bad8e7ea26a645affa74e2971fdac87e4afc20e7.tar.gz
scummvm-rg350-bad8e7ea26a645affa74e2971fdac87e4afc20e7.tar.bz2
scummvm-rg350-bad8e7ea26a645affa74e2971fdac87e4afc20e7.zip
CGE2: Fix Sprite::ghost and snGhost().
Diffstat (limited to 'engines/cge2/snail.cpp')
-rw-r--r--engines/cge2/snail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index 07cded033e..c086d2b17b 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -565,7 +565,7 @@ void CGE2Engine::snDim(Sprite *spr, int val) {
}
void CGE2Engine::snGhost(Bitmap *bmp) {
- V2D p(this, *bmp->_v & 0xFFFF, *bmp->_v >> 16);
+ V2D p(this, bmp->_map & 0xFFFF, bmp->_map >> 16);
bmp->hide(p.x, p.y);
delete[] bmp->_b;
bmp->_v = nullptr;