diff options
author | Paul Gilbert | 2014-08-10 16:55:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-10 16:55:06 -0400 |
commit | 6801cb0855cef796ea22c969c9c9f25866cdfa72 (patch) | |
tree | 2b307519cebc92e18f310d0898105f87d8ccd871 /engines/access/amazon | |
parent | 47d75ae128d2b29ace73925373901cf7bbc6325d (diff) | |
download | scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.tar.gz scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.tar.bz2 scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.zip |
ACCESS: Decompress sprite resource frames immediately on creation
Diffstat (limited to 'engines/access/amazon')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index 056fa8f1eb..5b840afc2e 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -123,7 +123,7 @@ void AmazonRoom::roomSet() { void AmazonRoom::roomMenu() { byte *iconData = _vm->_files->loadFile("ICONS.LZ"); - SpriteResource *spr = new SpriteResource(_vm, _icon, _vm->_files->_filesize); + SpriteResource *spr = new SpriteResource(_vm, iconData, _vm->_files->_filesize); delete[] iconData; _vm->_screen->saveScreen(); |