[Scummvm-git-logs] scummvm master -> c0282f2da9bcefdaa01be353f15627ce4d57eba9
rvanlaar
noreply at scummvm.org
Sun Apr 3 12:34:06 UTC 2022
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:
c0282f2da9 DIRECTOR: LINGO: include path with the fileName
Commit: c0282f2da9bcefdaa01be353f15627ce4d57eba9
https://github.com/scummvm/scummvm/commit/c0282f2da9bcefdaa01be353f15627ce4d57eba9
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-04-03T14:30:41+02:00
Commit Message:
DIRECTOR: LINGO: include path with the fileName
The fileName property of a cast includes the directory.
Changed paths:
engines/director/lingo/lingo-object.cpp
diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index 3c3a5aec555..5b397dfc33a 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -647,7 +647,7 @@ Datum CastMember::getField(int field) {
break;
case kTheFileName:
if (castInfo)
- d = Datum(castInfo->fileName);
+ d = Datum(castInfo->directory + g_director->_dirSeparator + castInfo->fileName);
break;
case kTheForeColor:
d = (int)getForeColor();
More information about the Scummvm-git-logs
mailing list