mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-15 22:38:09 +00:00
MADS: Fix for sprite refreshes when doing player cutscenes
This commit is contained in:
parent
3e1bbb724d
commit
848c94cd0e
@ -212,8 +212,9 @@ void SpriteSlots::fullRefresh(bool clearAll) {
|
||||
|
||||
void SpriteSlots::deleteTimer(int seqIndex) {
|
||||
for (uint idx = 0; idx < size(); ++idx) {
|
||||
if ((*this)[idx]._seqIndex == seqIndex) {
|
||||
remove_at(idx);
|
||||
SpriteSlot &slot = (*this)[idx];
|
||||
if (slot._seqIndex == seqIndex) {
|
||||
slot._flags = IMG_ERASE;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user