mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
DIRECTOR: Do not crash if movie was not loaded
This commit is contained in:
parent
d14a840e5e
commit
53901e7a9d
@ -207,7 +207,7 @@ Common::Error DirectorEngine::run() {
|
||||
_nextMovie.frameI = -1;
|
||||
}
|
||||
|
||||
if (!debugChannelSet(-1, kDebugLingoCompileOnly)) {
|
||||
if (!debugChannelSet(-1, kDebugLingoCompileOnly) && _currentScore) {
|
||||
debugC(1, kDebugEvents, "Starting playback of score '%s'", _currentScore->getMacName().c_str());
|
||||
|
||||
_currentScore->startLoop();
|
||||
|
Loading…
Reference in New Issue
Block a user