diff options
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/snail.cpp | 2 | ||||
-rw-r--r-- | engines/cge2/vga13h.cpp | 1 |
2 files changed, 2 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; diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 28f738c6c7..24987813a5 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -641,6 +641,7 @@ BitmapPtr Sprite::ghost() { uint8 *v = new uint8; *v = (e->_p1.y << 16) + e->_p1.x; bmp->_v = v; + bmp->_map = (e->_p1.y << 16) + e->_p1.x; return bmp; } |