[Scummvm-git-logs] scummvm master -> 11b9df5d630c145491c7b05166567b6a26459e42
dreammaster
noreply at scummvm.org
Thu May 2 04:07:14 UTC 2024
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:
11b9df5d63 MM: XEEN: Fix error starting Swords
Commit: 11b9df5d630c145491c7b05166567b6a26459e42
https://github.com/scummvm/scummvm/commit/11b9df5d630c145491c7b05166567b6a26459e42
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-05-01T21:07:04-07:00
Commit Message:
MM: XEEN: Fix error starting Swords
Changed paths:
engines/mm/shared/xeen/cc_archive.cpp
diff --git a/engines/mm/shared/xeen/cc_archive.cpp b/engines/mm/shared/xeen/cc_archive.cpp
index 36d5d416b8c..4f8067e3382 100644
--- a/engines/mm/shared/xeen/cc_archive.cpp
+++ b/engines/mm/shared/xeen/cc_archive.cpp
@@ -29,10 +29,10 @@ namespace Shared {
namespace Xeen {
uint16 BaseCCArchive::convertNameToId(const Common::Path &resourceName) {
- if (resourceName.empty())
+ Common::String name = resourceName.baseName();
+ if (resourceName.empty() || name.hasSuffix("."))
return 0xffff;
- Common::String name = resourceName.baseName();
name.toUppercase();
// Check if a resource number is being directly specified
More information about the Scummvm-git-logs
mailing list