[Scummvm-git-logs] scummvm master -> a139a4842a7fb39265c6a11216dfd8fc3c12d1c4
sev-
noreply at scummvm.org
Sat Feb 28 16:44:10 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
a139a4842a DIRECTOR: Do not crash when movie has no labels
Commit: a139a4842a7fb39265c6a11216dfd8fc3c12d1c4
https://github.com/scummvm/scummvm/commit/a139a4842a7fb39265c6a11216dfd8fc3c12d1c4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-02-28T17:43:39+01:00
Commit Message:
DIRECTOR: Do not crash when movie has no labels
Changed paths:
engines/director/score.cpp
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index cc2fd184062..db9bb484895 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -224,6 +224,9 @@ Common::String *Score::getLabelList() {
}
Common::String *Score::getFrameLabel(uint id) {
+ if (!_labels)
+ return new Common::String;
+
for (auto &i : *_labels) {
if (i->number == id) {
return new Common::String(i->name);
More information about the Scummvm-git-logs
mailing list