mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 18:41:12 +00:00
MOHAWK: Adjust MystAreaVideo::playAreaVideo for the refactored VideoManager
The refactoring in 7e6c8be7db2449c1f793b6fb01af5613282e7f27 changed the behavior of VideoManager::playMovie to start stopped movies. The refactoring in 9665efa39a4df000eb695329a9b81c1657f4dc10 changed the behavior of MystAreaVideo::playAreaVideo to set the position and looping flag for already playing movies. This commit hopefuly reverts to the previous behavior for videos already loaded in VideoManager.
This commit is contained in:
parent
eb47dcf2c9
commit
01bfd37919
@ -225,7 +225,7 @@ VideoHandle MystAreaVideo::playMovie() {
|
||||
VideoHandle handle = _vm->_video->findVideoHandle(_videoFile);
|
||||
|
||||
// If the video is not running, play it
|
||||
if (!handle || handle->endOfVideo()) {
|
||||
if (!handle) {
|
||||
handle = _vm->_video->playMovie(_videoFile);
|
||||
if (!handle)
|
||||
error("Failed to open '%s'", _videoFile.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user