aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/snail.cpp
diff options
context:
space:
mode:
authoruruk2014-06-15 21:33:41 +0200
committeruruk2014-06-15 21:33:41 +0200
commit9023240545bdadd0ccea93dddae30d1e13f5b107 (patch)
tree58ed849b9cc2776c63b62d30e1720f6ec8b89b82 /engines/cge2/snail.cpp
parentc488c15289d9a5c21fc6bad54c9614f54dd8b3bf (diff)
downloadscummvm-rg350-9023240545bdadd0ccea93dddae30d1e13f5b107.tar.gz
scummvm-rg350-9023240545bdadd0ccea93dddae30d1e13f5b107.tar.bz2
scummvm-rg350-9023240545bdadd0ccea93dddae30d1e13f5b107.zip
CGE2: Rework show() and hide() in Bitmap to use V2Ds as parameters.
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 5e417a1b8c..068ccf86d5 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -604,7 +604,7 @@ void CGE2Engine::snDim(Sprite *spr, int val) {
void CGE2Engine::snGhost(Bitmap *bmp) {
V2D p(this, bmp->_map & 0xFFFF, bmp->_map >> 16);
- bmp->hide(p.x, p.y);
+ bmp->hide(p);
delete[] bmp->_b;
bmp->_v = nullptr;
bmp->_b = nullptr;