mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
DIRECTOR: fix the condition of resetting stopTime
This commit is contained in:
parent
8bc3b3c1f1
commit
dc6211dac0
@ -357,7 +357,7 @@ void Channel::setClean(Sprite *nextSprite, int spriteId, bool partial) {
|
||||
updateGlobalAttr();
|
||||
|
||||
// reset the stop time when we are not playing video
|
||||
if (_stopTime && _sprite->_cast && _sprite->_cast->_type != kCastDigitalVideo)
|
||||
if (_stopTime && (!_sprite->_cast || (_sprite->_cast && _sprite->_cast->_type != kCastDigitalVideo)))
|
||||
_stopTime = 0;
|
||||
|
||||
_dirty = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user