[Scummvm-git-logs] scummvm master -> 2547ad576d3e264a6aef225a50897be0669ee40b

dreammaster paulfgilbert at gmail.com
Mon Aug 19 03:32:38 CEST 2019


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:
2547ad576d XEEN: Workaround script bug opening sarcophagus in Sphinx


Commit: 2547ad576d3e264a6aef225a50897be0669ee40b
    https://github.com/scummvm/scummvm/commit/2547ad576d3e264a6aef225a50897be0669ee40b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-08-18T18:32:24-07:00

Commit Message:
XEEN: Workaround script bug opening sarcophagus in Sphinx

Changed paths:
    engines/xeen/scripts.cpp


diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 2feb4fa..9e04fd1 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -1677,7 +1677,11 @@ bool Scripts::ifProc(int action, uint32 val, int mode, int charIndex) {
 		break;
 	case 37:
 		// Might bonus (extra beyond base)
-		v = ps->_might._temporary;
+		if (party._mazeId == 82)
+			// WORKAROUND: Strength test opening sarcophagus in Northern Sphinx should use full might
+			v = ps->getStat(MIGHT);
+		else
+			v = ps->_might._temporary;
 		break;
 	case 38:
 		// Intellect bonus (extra beyond base)





More information about the Scummvm-git-logs mailing list