diff options
author | uruk | 2013-08-21 13:45:22 +0200 |
---|---|---|
committer | uruk | 2013-08-21 13:45:22 +0200 |
commit | 44f7802777df8b3dce2eaa25b66bfe0d0f094bdf (patch) | |
tree | b7ec56106df0439b991cf5648ad6be2bdf346f3f /engines/avalanche/avalot.cpp | |
parent | f8796e720eea8122bf7ecef7f1dcd75c39b75a97 (diff) | |
download | scummvm-rg350-44f7802777df8b3dce2eaa25b66bfe0d0f094bdf.tar.gz scummvm-rg350-44f7802777df8b3dce2eaa25b66bfe0d0f094bdf.tar.bz2 scummvm-rg350-44f7802777df8b3dce2eaa25b66bfe0d0f094bdf.zip |
AVALANCHE: Rename Gyro::reloaded to Gyro::isLoaded. Repair a bug in the original engine regarding timing of animations/scrolls/etc. when loading a savegame using this variable.
Diffstat (limited to 'engines/avalanche/avalot.cpp')
-rw-r--r-- | engines/avalanche/avalot.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 9cf66606ab..cb73123d2e 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -192,14 +192,12 @@ void Avalot::setup() { int16 loadSlot = Common::ConfigManager::instance().getInt("save_slot"); if (loadSlot >= 0) { _vm->loadGame(loadSlot); - - _vm->_gyro->reloaded = true; } else - _vm->_gyro->reloaded = false; + _vm->_gyro->isLoaded = false; // Set to true in _vm->loadGame(). - if (!_vm->_gyro->reloaded) { + if (!_vm->_gyro->isLoaded) { _vm->_gyro->newgame(); // No game was requested- load the default. _vm->_gyro->soundfx = ! _vm->_gyro->soundfx; |