From de09300fdd2194cd78054175b5d4e5231482ab1d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 21 Mar 2014 21:58:53 -0400 Subject: MADS: Fix initialisation of scene 103 --- engines/mads/nebular/nebular_scenes1.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp index d3df1e9787..86cac3b8e4 100644 --- a/engines/mads/nebular/nebular_scenes1.cpp +++ b/engines/mads/nebular/nebular_scenes1.cpp @@ -145,15 +145,16 @@ void Scene103::enter() { _globals._spriteIndexes[16] = _scene->_sequences.addSpriteCycle( _globals._spriteIndexes[1], false, 6, 0, 2, 0); _scene->_sequences.setDepth(_globals._spriteIndexes[16], 0); + _globals._spriteIndexes[17] = _scene->_sequences.addSpriteCycle( _globals._spriteIndexes[2], false, 6, 0, 0, 25); + _scene->_sequences.addSubEntry(_globals._spriteIndexes[17], SM_FRAME_INDEX, 2, 72); _globals._spriteIndexes[18] = _scene->_sequences.addSpriteCycle( - _scene->_sequences.addSubEntry(_globals._spriteIndexes[17], - SM_FRAME_INDEX, 2, 72), false, 8); - _globals._spriteIndexes[23] = _scene->_sequences.addSpriteCycle( - _scene->_sequences.addSubEntry(_globals._spriteIndexes[18], - SM_FRAME_INDEX, 2, 73), false, 8); + _globals._spriteIndexes[3], _scene, false, 8); + _scene->_sequences.addSubEntry(_globals._spriteIndexes[18], SM_FRAME_INDEX, 2, 73); + _globals._spriteIndexes[23] = _scene->_sequences.addSpriteCycle( + _globals._spriteIndexes[8], false, 8); _globals._spriteIndexes[22] = _scene->_sequences.addSpriteCycle( _globals._spriteIndexes[7], false, 6); _globals._spriteIndexes[19] = _scene->_sequences.addSpriteCycle( -- cgit v1.2.3