diff options
author | Strangerke | 2014-09-16 22:04:10 +0200 |
---|---|---|
committer | Strangerke | 2014-09-16 22:04:10 +0200 |
commit | 9accfdab6f48daa9dbe47de84f0bda84d4103546 (patch) | |
tree | d0b46dfd34b11ad29736292055c4dea6f1791db1 /engines/access/amazon/amazon_room.cpp | |
parent | d37534fa9b5024cf8cb31b7009b1ac75bb660497 (diff) | |
download | scummvm-rg350-9accfdab6f48daa9dbe47de84f0bda84d4103546.tar.gz scummvm-rg350-9accfdab6f48daa9dbe47de84f0bda84d4103546.tar.bz2 scummvm-rg350-9accfdab6f48daa9dbe47de84f0bda84d4103546.zip |
ACCESS: Implement mWhile2 and plotInactive, change _inactive from Resource* to ImageEntry
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index 227fc474cf..39cea9ae62 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -77,7 +77,9 @@ void AmazonRoom::reloadRoom() { void AmazonRoom::reloadRoom1() { if (_vm->_player->_roomNumber == 29 || _vm->_player->_roomNumber == 31 || _vm->_player->_roomNumber == 42 || _vm->_player->_roomNumber == 44) { - _vm->_inactive = _vm->_files->loadFile("MAYA.LZ"); + Resource *spriteData = _vm->_files->loadFile("MAYA.LZ"); + _vm->_inactive._spritesPtr = new SpriteResource(_vm, spriteData); + delete spriteData; _vm->_currentCharFlag = false; } |