From bbe61b405406e7f257662b2244fd73e9f683dc6c Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 11 Nov 2015 00:10:41 +0100 Subject: MADS: DRAGON: Use constants instead of hardcoded values in one call of addSprites --- engines/mads/dragonsphere/dragonsphere_scenes1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp index ee15af1943..a4c89d6a2d 100644 --- a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp +++ b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp @@ -2200,7 +2200,7 @@ void Scene104::actions() { _scene->_sequences.setDepth(_globals._sequenceIndexes[14], 6); _game.syncTimers(1, _globals._sequenceIndexes[14], 4, 0); - _globals._spriteIndexes[15] = _scene->_sprites.addSprites(formAnimName('e', 3), 0x1000 | 0x2000); + _globals._spriteIndexes[15] = _scene->_sprites.addSprites(formAnimName('e', 3), PALFLAG_ALL_TO_CLOSEST | PALFLAG_ANY_TO_CLOSEST); _globals._animationIndexes[1] = _scene->loadAnimation(formAnimName('m', 2), 0); _anim1ActvFl = false; _anim5ActvFl = true; -- cgit v1.2.3