diff options
author | athrxx | 2019-02-22 15:47:05 +0100 |
---|---|---|
committer | athrxx | 2019-03-06 20:48:22 +0100 |
commit | 1cedb61c8ccd9f30372452c7b0f01cf0dab25157 (patch) | |
tree | 91414f0026981807dac4682ad4105871e455db5a /engines | |
parent | 39eb1c4cc4a409b08197eaf67a5bd51e2ba6b3c6 (diff) | |
download | scummvm-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)")
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/gui/gui_eob.cpp | 2 |
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); |