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

lephilousophe noreply at scummvm.org
Wed Jan 5 17:08:16 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:
d36968e425 GLK: ADRIFT: Fix TAF file version check


Commit: d36968e4255bdeeaf7d866be444a28191b4e3ff0
    https://github.com/scummvm/scummvm/commit/d36968e4255bdeeaf7d866be444a28191b4e3ff0
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2022-01-05T18:07:37+01:00

Commit Message:
GLK: ADRIFT: Fix TAF file version check

Version 3.80 and 3.90 where detected as version 5.00 and failed to load.

Changed paths:
    engines/glk/adrift/sctaffil.cpp


diff --git a/engines/glk/adrift/sctaffil.cpp b/engines/glk/adrift/sctaffil.cpp
index 234ed89e38f..ed26d0ddacc 100644
--- a/engines/glk/adrift/sctaffil.cpp
+++ b/engines/glk/adrift/sctaffil.cpp
@@ -483,7 +483,7 @@ static sc_tafref_t taf_create_from_callback(sc_read_callbackref_t callback,
 
 		if (version == TAF_VERSION_500 || version == TAF_VERSION_390 ||
 				version == TAF_VERSION_380) {
-			taf->version = TAF_VERSION_500;
+			taf->version = version;
 
 		} else if (version == TAF_VERSION_400) {
 			/* Read in the version 4.0 header extension. */




More information about the Scummvm-git-logs mailing list