Skip to content

Commit

Permalink
ACCESS: Fix loading animation data in mWhileDoOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent 31fc8fd commit 8939d65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engines/access/amazon/amazon_scripts.cpp
Expand Up @@ -560,7 +560,11 @@ void AmazonScripts::mWhileDoOpen() {
_vm->_buffer2.copyFrom(*_vm->_screen);
_vm->_buffer1.copyFrom(*_vm->_screen);

warning("TODO _roomInfo = _vm->_files->loadFile(1, 1);");
// Load animation data
_vm->_animation->freeAnimationData();
Resource *animResource = _vm->_files->loadFile(1, 1);
_vm->_animation->loadAnimations(animResource);
delete animResource;

_xTrack = 8;
_yTrack = -3;
Expand Down

0 comments on commit 8939d65

Please sign in to comment.