[Scummvm-git-logs] scummvm master -> e7f0b5f65fb10d6bf785219cd3ed21d415e3d273
sev-
noreply at scummvm.org
Fri Feb 24 15:42:21 UTC 2023
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:
e7f0b5f65f DIRECTOR: Fix compilation
Commit: e7f0b5f65fb10d6bf785219cd3ed21d415e3d273
https://github.com/scummvm/scummvm/commit/e7f0b5f65fb10d6bf785219cd3ed21d415e3d273
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-02-24T16:42:03+01:00
Commit Message:
DIRECTOR: Fix compilation
Changed paths:
engines/director/cast.cpp
diff --git a/engines/director/cast.cpp b/engines/director/cast.cpp
index 484af9d7702..9fb72cb1a35 100644
--- a/engines/director/cast.cpp
+++ b/engines/director/cast.cpp
@@ -672,7 +672,7 @@ void Cast::loadBitmapData(int key, BitmapCastMember *bitmapCast) {
}
if ((pic == nullptr || pic->size() == 0)
- && _castsInfo[key]->fileName && !_castsInfo[key]->fileName.empty()) {
+ && _castsInfo.contains(key) && !_castsInfo[key]->fileName.empty()) {
// image file is linked, load from the filesystem
Common::File file;
More information about the Scummvm-git-logs
mailing list