aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/dropdown2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/dropdown2.cpp')
-rw-r--r--engines/avalanche/dropdown2.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/avalanche/dropdown2.cpp b/engines/avalanche/dropdown2.cpp
index 2d6d272208..12af639ab7 100644
--- a/engines/avalanche/dropdown2.cpp
+++ b/engines/avalanche/dropdown2.cpp
@@ -449,12 +449,12 @@ void Dropdown::setupMenuAction() {
_activeMenuItem.setupOption(f5Does, f5Does[0], "f5", true);
_activeMenuItem.setupOption("Pause game", 'P', "f6", true);
if (_vm->_gyro->_dna._room == 99)
- _activeMenuItem.setupOption("Journey thither", 'J', "f7", _vm->_animation->neardoor());
+ _activeMenuItem.setupOption("Journey thither", 'J', "f7", _vm->_animation->nearDoor());
else
- _activeMenuItem.setupOption("Open the door", 'O', "f7", _vm->_animation->neardoor());
+ _activeMenuItem.setupOption("Open the door", 'O', "f7", _vm->_animation->nearDoor());
_activeMenuItem.setupOption("Look around", 'L', "f8", true);
_activeMenuItem.setupOption("Inventory", 'I', "Tab", true);
- if (_vm->_animation->tr[0]._speedX == _vm->_gyro->kWalk)
+ if (_vm->_animation->_sprites[0]._speedX == _vm->_gyro->kWalk)
_activeMenuItem.setupOption("Run fast", 'R', "^R", true);
else
_activeMenuItem.setupOption("Walk slowly", 'W', "^W", true);
@@ -624,11 +624,11 @@ void Dropdown::runMenuAction() {
_vm->_lucerna->callVerb(_vm->_acci->kVerbCodeInv);
break;
case 5: {
- if (_vm->_animation->tr[0]._speedX == _vm->_gyro->kWalk)
- _vm->_animation->tr[0]._speedX = _vm->_gyro->kRun;
+ if (_vm->_animation->_sprites[0]._speedX == _vm->_gyro->kWalk)
+ _vm->_animation->_sprites[0]._speedX = _vm->_gyro->kRun;
else
- _vm->_animation->tr[0]._speedX = _vm->_gyro->kWalk;
- _vm->_animation->newspeed();
+ _vm->_animation->_sprites[0]._speedX = _vm->_gyro->kWalk;
+ _vm->_animation->updateSpeed();
}
break;
}