From 80bba746406743ab7a7ae6c163c79c652f6d7624 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 8 Mar 2014 08:33:13 -0500 Subject: MADS: Fix sprites loading for scene 804 --- engines/mads/nebular/nebular_scenes8.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'engines/mads/nebular') diff --git a/engines/mads/nebular/nebular_scenes8.cpp b/engines/mads/nebular/nebular_scenes8.cpp index caad1e79a7..56c3679409 100644 --- a/engines/mads/nebular/nebular_scenes8.cpp +++ b/engines/mads/nebular/nebular_scenes8.cpp @@ -75,6 +75,11 @@ void Scene8xx::enter1() { /*------------------------------------------------------------------------*/ void Scene804::setup() { + Scene8xx::setup1(); + Scene8xx::setup2(); +} + +void Scene804::enter() { _globals._chairHotspotIndex = 0; _globals._v1 = _globals._v2 = 0; _globals._v3 = _globals._v4 = 0; @@ -101,7 +106,8 @@ void Scene804::setup() { _globals._spriteIndexes[19] = _scene->_sequences.startCycle( _globals._spriteIndexes[4], 0, 1); _scene->_sequences.addTimer(60, 100); - } else { + } + else { _globals._spriteIndexes[20] = _scene->_sequences.startCycle( _globals._spriteIndexes[5], false, 1); _globals._spriteIndexes[21] = _scene->_sequences.startReverseCycle( @@ -109,7 +115,8 @@ void Scene804::setup() { _scene->_sequences.addTimer(160, 70); _vm->_game->_player._stepEnabled = false; } - } else { + } + else { if (_globals[167] == 0) { _globals._spriteIndexes[22] = _scene->_sequences.startCycle( _globals._spriteIndexes[7], false, 1); @@ -136,9 +143,6 @@ void Scene804::setup() { } } -void Scene804::enter() { -} - void Scene804::step() { } -- cgit v1.2.3