aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-22 21:02:29 -0400
committerPaul Gilbert2015-07-22 21:02:29 -0400
commit5117482f7960018d184938447a3a10991472f4dc (patch)
treef834088c0ee4585483e242906829b9ce67d9518b /engines/sherlock/tattoo/tattoo.cpp
parent71296d6461bd8346793ff939b5d2e84d22c58dfa (diff)
downloadscummvm-rg350-5117482f7960018d184938447a3a10991472f4dc.tar.gz
scummvm-rg350-5117482f7960018d184938447a3a10991472f4dc.tar.bz2
scummvm-rg350-5117482f7960018d184938447a3a10991472f4dc.zip
SHERLOCK: RT: Implement maskArea
Diffstat (limited to 'engines/sherlock/tattoo/tattoo.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 920bef1a4c..aa8404f4da 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -89,11 +89,11 @@ void TattooEngine::startScene() {
case 53:
case 68:
// Load overlay mask(s) for the scene
- ui._mask = new ImageFile(Common::String::format("res%02d.msk", _scene->_goToScene));
+ ui._mask = _res->load(Common::String::format("res%02d.msk", _scene->_goToScene));
if (_scene->_goToScene == 8)
- ui._mask1 = new ImageFile("res08a.msk");
+ ui._mask1 = _res->load("res08a.msk");
else if (_scene->_goToScene == 18 || _scene->_goToScene == 68)
- ui._mask1 = new ImageFile("res08a.msk");
+ ui._mask1 = _res->load("res08a.msk");
break;
case OVERHEAD_MAP: