MADS: Fix a bug in SequenceList::scan()
This resolves the FIXME in SpriteSets::remove()
This commit is contained in:
parent
17b253a251
commit
68671d77c2
2 changed files with 1 additions and 5 deletions
|
@ -410,7 +410,7 @@ void SequenceList::scan() {
|
|||
Scene &scene = _vm->_game->_scene;
|
||||
|
||||
for (uint i = 0; i < _entries.size(); ++i) {
|
||||
if (!_entries[i]._active && (_entries[i]._spritesIndex != -1)) {
|
||||
if (_entries[i]._active && (_entries[i]._spritesIndex != -1)) {
|
||||
int idx = scene._spriteSlots.add();
|
||||
setSpriteSlot(i, scene._spriteSlots[idx]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue