[Scummvm-git-logs] scummvm master -> 4cec123784d7f48db849fd847c064fafaaf9373a
sev-
noreply at scummvm.org
Tue Oct 27 09:54:35 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:
4cec123784 DIRECTOR: Keep castLib name when its file changes
Commit: 4cec123784d7f48db849fd847c064fafaaf9373a
https://github.com/scummvm/scummvm/commit/4cec123784d7f48db849fd847c064fafaaf9373a
Author: Nikita Lebedev (nest-aka-swan at yandex.ru)
Date: 2026-10-27T10:54:29+01:00
Commit Message:
DIRECTOR: Keep castLib name when its file changes
Setting the fileName of a castLib replaces the Cast object in
Movie::loadCastLibFrom(). The old name was read but never given to
the new cast, so the castLib had an empty name after the first swap.
Assisted-by: Claude:claude-opus-5-5
Changed paths:
engines/director/movie.cpp
diff --git a/engines/director/movie.cpp b/engines/director/movie.cpp
index f3d966f10c2..9897da3420f 100644
--- a/engines/director/movie.cpp
+++ b/engines/director/movie.cpp
@@ -552,6 +552,7 @@ bool Movie::loadCastLibFrom(uint16 libId, Common::Path &filename) {
}
Cast *cast = new Cast(this, libId, false, true, libResourceId);
+ cast->setCastName(name);
cast->setArchive(castArchive);
cast->loadConfig();
cast->loadCast();
More information about the Scummvm-git-logs
mailing list