From 2547ad576d3e264a6aef225a50897be0669ee40b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 18 Aug 2019 18:32:24 -0700 Subject: XEEN: Workaround script bug opening sarcophagus in Sphinx --- engines/xeen/scripts.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 2feb4fa355..9e04fd1252 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) -- cgit v1.2.3