aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/gfxbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/gfxbase.cpp b/engines/parallaction/gfxbase.cpp
index 58cc1e2728..2e7794a1f1 100644
--- a/engines/parallaction/gfxbase.cpp
+++ b/engines/parallaction/gfxbase.cpp
@@ -162,7 +162,7 @@ void Gfx::loadGfxObjMask(const char *name, GfxObj *obj) {
Common::Rect rect;
obj->getRect(0, rect);
obj->_mask.create(rect.width(), rect.height());
- _vm->_disk->loadMask(_tokens[1], obj->_mask);
+ _vm->_disk->loadMask(name, obj->_mask);
obj->_hasMask = true;
}