[Scummvm-git-logs] scummvm master -> 9f900ca782197d45baea532dfcdbc59d0b7421a7

LittleToonCat noreply at scummvm.org
Thu Mar 9 07:33:23 UTC 2023


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:
9f900ca782 SCUMM HE: Fix wrong subop in decodeParseStrin.g.


Commit: 9f900ca782197d45baea532dfcdbc59d0b7421a7
    https://github.com/scummvm/scummvm/commit/9f900ca782197d45baea532dfcdbc59d0b7421a7
Author: Little Cat (toontownlittlecat at gmail.com)
Date: 2023-03-09T03:33:11-04:00

Commit Message:
SCUMM HE: Fix wrong subop in decodeParseStrin.g.

Fixes default case error when starting a game in Baseball 2001.

Changed paths:
    engines/scumm/he/script_v72he.cpp


diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp
index c2b7aff2301..4b12131746b 100644
--- a/engines/scumm/he/script_v72he.cpp
+++ b/engines/scumm/he/script_v72he.cpp
@@ -2115,7 +2115,7 @@ void ScummEngine_v72he::decodeParseString(int m, int n) {
 	byte b = fetchScriptByte();
 
 	switch (b) {
-	case SO_AT:
+	case ScummEngine_v6::SubOpType::SO_AT:
 		_string[m].ypos = pop();
 		_string[m].xpos = pop();
 		_string[m].overhead = false;




More information about the Scummvm-git-logs mailing list