aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes1.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-24 17:25:33 -0400
committerPaul Gilbert2014-05-24 17:25:33 -0400
commitef22702ac4f01ab79248dd41b49b37fb119f68e9 (patch)
tree1ee006dddecc090f4085df0678045ae5ad8d0d0d /engines/mads/nebular/nebular_scenes1.cpp
parent786c771bb89648b74825a92f983563ad1b94083a (diff)
downloadscummvm-rg350-ef22702ac4f01ab79248dd41b49b37fb119f68e9.tar.gz
scummvm-rg350-ef22702ac4f01ab79248dd41b49b37fb119f68e9.tar.bz2
scummvm-rg350-ef22702ac4f01ab79248dd41b49b37fb119f68e9.zip
MADS: Fix for standing up from chair in scene 101
Diffstat (limited to 'engines/mads/nebular/nebular_scenes1.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index 59432c1ac0..9fb3808c58 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -306,7 +306,7 @@ void Scene101::preActions() {
if (_game._player._needToWalk) {
switch (_game._trigger) {
case 0:
- _game._player._needToWalk = false;
+ _game._player._readyToWalk = false;
_game._player._stepEnabled = false;
_scene->_sequences.remove(_globals._sequenceIndexes[11]);
_globals._sequenceIndexes[11] = _scene->_sequences.addReverseSpriteCycle(_globals._spriteIndexes[11], false, 3, 1, 0, 0);
@@ -319,7 +319,7 @@ void Scene101::preActions() {
_sittingFl = false;
_game._player._visible = true;
_game._player._stepEnabled = true;
- _game._player._needToWalk = true;
+ _game._player._readyToWalk = true;
_scene->_hotspots.activate(71, true);
_scene->_dynamicHotspots.remove(_chairHotspotId);
_globals._sequenceIndexes[12] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[12], false, 6, 0, 0, 0);