[Scummvm-git-logs] scummvm master -> 81c98a8a55b6b66d6050a874eb5a09d244102036

dreammaster noreply at scummvm.org
Wed Feb 21 04:20:25 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:
81c98a8a55 M4: Fix Burl voice in German Burl arriving cutscene


Commit: 81c98a8a55b6b66d6050a874eb5a09d244102036
    https://github.com/scummvm/scummvm/commit/81c98a8a55b6b66d6050a874eb5a09d244102036
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-02-20T20:20:19-08:00

Commit Message:
M4: Fix Burl voice in German Burl arriving cutscene

Changed paths:
    engines/m4/fileio/sys_file.cpp


diff --git a/engines/m4/fileio/sys_file.cpp b/engines/m4/fileio/sys_file.cpp
index d6634c12edf..9a24595c5c6 100644
--- a/engines/m4/fileio/sys_file.cpp
+++ b/engines/m4/fileio/sys_file.cpp
@@ -456,9 +456,8 @@ int SysFile::hash_search(const Common::String &fname, Hash_Record *current_hash_
 			get_local_name_from_hagfile(local_name, current_hash_record_ptr->hagfile);
 			local_hag_name = f_extension_new(local_name, "HAG");
 			local_name = local_hag_name;
-			//			sprintf(local_name, "%s%s", exec_path, local_hag_name);
 
-			if (Common::File::exists(Common::Path(local_name))) {
+			if (!Common::File::exists(Common::Path(local_name))) {
 				finded = 1;
 				find_offset = offset;
 				break;
@@ -472,7 +471,8 @@ int SysFile::hash_search(const Common::String &fname, Hash_Record *current_hash_
 			} else {
 				find_offset = offset;
 			}
-			if (next_record == offset) { // only one record of fname in hash table
+			if (next_record == offset) {
+				// only one record of fname in hash table
 				finded = 1;
 			} else {
 				offset = next_record;




More information about the Scummvm-git-logs mailing list