aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/sprites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/sprites.cpp b/engines/mads/sprites.cpp
index f74edafc93..aa73fce712 100644
--- a/engines/mads/sprites.cpp
+++ b/engines/mads/sprites.cpp
@@ -406,7 +406,7 @@ void SpriteSets::remove(int idx) {
} while (size() > 0 && (*this)[size() - 1] == nullptr);
}
- if (_assetCount > 0)
+ if (idx < 50 && _assetCount > 0)
--_assetCount;
}
}