Skip to content

Commit

Permalink
MADS: Improved fix for picking up plant stalk
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 9, 2015
1 parent 05250d1 commit f37a0b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions engines/mads/nebular/nebular_scenes2.cpp
Expand Up @@ -2838,6 +2838,7 @@ void Scene209::enter() {
_globals._spriteIndexes[5] = _scene->_sprites.addSprites(formAnimName('m', 3));
_globals._spriteIndexes[6] = _scene->_sprites.addSprites(formAnimName('m', 6));
_globals._spriteIndexes[7] = _scene->_sprites.addSprites(formAnimName('m', 8));
_globals._spriteIndexes[11] = _scene->_sprites.addSprites("*RXMBD_2");

_game.loadQuoteSet(0x82, 0x83, 0x84, 0x9C, 0x97, 0x95, 0x99, 0x9E, 0x98, 0x9B, 0xA0, 0x96, 0x9F,
0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x91, 0x92, 0x93, 0x94, 0x89, 0x85, 0x8A, 0x86, 0x87, 0x88, 0);
Expand Down Expand Up @@ -3439,7 +3440,6 @@ void Scene209::actions() {
if (_action.isAction(VERB_TAKE, NOUN_PLANT_STALK) && (_game._trigger || _game._objects.isInRoom(OBJ_PLANT_STALK))) {
switch (_game._trigger) {
case 0:
_globals._spriteIndexes[11] = _scene->_sprites.addSprites("*RXMBD_2");
_game._player._stepEnabled = false;
_game._player._visible = false;
_globals._sequenceIndexes[11] = _scene->_sequences.startPingPongCycle(_globals._spriteIndexes[11], false, 3, 2, 0, 0);
Expand All @@ -3461,8 +3461,6 @@ void Scene209::actions() {
break;

case 3:
_scene->_sprites.remove(_globals._spriteIndexes[11]);
_scene->_spriteSlots.fullRefresh(true);
break;
}
_action._inProgress = false;
Expand Down

0 comments on commit f37a0b2

Please sign in to comment.