From 6801cb0855cef796ea22c969c9c9f25866cdfa72 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 10 Aug 2014 16:55:06 -0400 Subject: ACCESS: Decompress sprite resource frames immediately on creation --- engines/access/amazon/amazon_room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/access/amazon') 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(); -- cgit v1.2.3