[Scummvm-git-logs] scummvm master -> b832e2c87037be4ca728039f59c9e4d5fd810ece

djsrv dservilla at gmail.com
Fri Jul 16 22:07:05 UTC 2021


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:
b832e2c870 DIRECTOR: Ignore case in shared cast name


Commit: b832e2c87037be4ca728039f59c9e4d5fd810ece
    https://github.com/scummvm/scummvm/commit/b832e2c87037be4ca728039f59c9e4d5fd810ece
Author: djsrv (dservilla at gmail.com)
Date: 2021-07-16T18:06:15-04:00

Commit Message:
DIRECTOR: Ignore case in shared cast name

Changed paths:
    engines/director/resource.cpp


diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp
index 4289901226..6ad0354ce0 100644
--- a/engines/director/resource.cpp
+++ b/engines/director/resource.cpp
@@ -72,7 +72,7 @@ Common::Error Window::loadInitialMovie() {
 	_currentMovie = new Movie(this);
 	_currentPath = getPath(movie, _currentPath);
 	Common::String sharedCastPath = getSharedCastPath();
-	if (!sharedCastPath.empty() && sharedCastPath != movie)
+	if (!sharedCastPath.empty() && !sharedCastPath.equalsIgnoreCase(movie))
 		_currentMovie->loadSharedCastsFrom(sharedCastPath);
 	_currentMovie->setArchive(_mainArchive);
 




More information about the Scummvm-git-logs mailing list