diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/scripts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 4a2e5ccb86..a243951f16 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -1814,16 +1814,16 @@ bool Scripts::ifProc(int action, uint32 val, int mode, int charIndex) { v = ps->_ACTemp; break; case 78: - // Test whether current Hp is equal to or exceeds the max HP - v = ps->_currentHp >= ps->getMaxHP() ? 1 : 0; + // Test whether current Hp exceeds max HP or not + v = ps->_currentHp <= ps->getMaxHP() ? 1 : 0; break; case 79: // Test for Wizard Eye being active v = party._wizardEyeActive ? 1 : 0; break; case 81: - // Test whether current Sp is equal to or exceeds the max SP - v = ps->_currentSp >= ps->getMaxSP() ? 1 : 0; + // Test whether current Sp exceeds the max SP or not + v = ps->_currentSp <= ps->getMaxSP() ? 1 : 0; break; case 84: // Current facing direction |