diff options
author | Paul Gilbert | 2015-07-22 21:02:29 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-22 21:02:29 -0400 |
commit | 5117482f7960018d184938447a3a10991472f4dc (patch) | |
tree | f834088c0ee4585483e242906829b9ce67d9518b /engines/sherlock/tattoo/tattoo.cpp | |
parent | 71296d6461bd8346793ff939b5d2e84d22c58dfa (diff) | |
download | scummvm-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.cpp | 6 |
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: |