aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2019-02-22 15:47:05 +0100
committerathrxx2019-03-06 20:48:22 +0100
commit1cedb61c8ccd9f30372452c7b0f01cf0dab25157 (patch)
tree91414f0026981807dac4682ad4105871e455db5a
parent39eb1c4cc4a409b08197eaf67a5bd51e2ba6b3c6 (diff)
downloadscummvm-rg350-1cedb61c8ccd9f30372452c7b0f01cf0dab25157.tar.gz
scummvm-rg350-1cedb61c8ccd9f30372452c7b0f01cf0dab25157.tar.bz2
scummvm-rg350-1cedb61c8ccd9f30372452c7b0f01cf0dab25157.zip
KYRA: (EOB1) - fix slow poison status display
(in the character tab it would still say "poisoned" instead of "poisoned (slow)")
-rw-r--r--engines/kyra/gui/gui_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui/gui_eob.cpp b/engines/kyra/gui/gui_eob.cpp
index 41703ca722..bfe338bccb 100644
--- a/engines/kyra/gui/gui_eob.cpp
+++ b/engines/kyra/gui/gui_eob.cpp
@@ -139,7 +139,7 @@ void EoBCoreEngine::gui_drawCharPortraitWithStats(int index) {
_screen->printShadedText(_characterGuiStringsSt[1], 247, 158, guiSettings()->colors.menuTxtColLightRed, guiSettings()->colors.sfill, guiSettings()->colors.menuTxtColBlack);
else if (c->hitPointsCur < 1)
_screen->printShadedText(_characterGuiStringsSt[2], 226, 158, guiSettings()->colors.menuTxtColLightRed, guiSettings()->colors.sfill, guiSettings()->colors.menuTxtColBlack);
- else if (c->effectFlags & (_flags.gameID == GI_EOB1 ? 0x80 : 0x2000))
+ else if (c->effectFlags & 0x2000)
_screen->printShadedText(_characterGuiStringsSt[3], 220, 158, guiSettings()->colors.menuTxtColLightRed, guiSettings()->colors.sfill, guiSettings()->colors.menuTxtColBlack);
else if (c->flags & 2)
_screen->printShadedText(_characterGuiStringsSt[4], 235, 158, guiSettings()->colors.menuTxtColLightRed, guiSettings()->colors.sfill, guiSettings()->colors.menuTxtColBlack);