[Scummvm-git-logs] scummvm master -> d14a840e5e7cae6b8829c0cd7d65886321bcf3de
sev-
sev at scummvm.org
Fri Jan 10 22:11:04 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d14a840e5e DIRECTOR: Gracefully exit when end of movie list is reached
Commit: d14a840e5e7cae6b8829c0cd7d65886321bcf3de
https://github.com/scummvm/scummvm/commit/d14a840e5e7cae6b8829c0cd7d65886321bcf3de
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-01-10T23:10:36+01:00
Commit Message:
DIRECTOR: Gracefully exit when end of movie list is reached
Changed paths:
engines/director/director.cpp
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index 332b8b5..14a63db 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -312,6 +312,9 @@ void DirectorEngine::enqueueAllMovies() {
MovieReference DirectorEngine::getNextMovieFromQueue() {
MovieReference res;
+ if (_movieQueue.empty())
+ return res;
+
res.movie = _movieQueue.front();
debug(0, "=======================================");
More information about the Scummvm-git-logs
mailing list