aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_char_info.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-02-01 15:24:12 -0500
committerPaul Gilbert2015-02-01 15:24:12 -0500
commitd57c9f20213e66539fc7686a8b8abc26090aaa59 (patch)
tree3c192af6d876498212d5e0462488c338fdcb34bf /engines/xeen/dialogs_char_info.cpp
parent3ae4958f0ba6823b74cf86db6dbd905a8f2d4c47 (diff)
downloadscummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.tar.gz
scummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.tar.bz2
scummvm-rg350-d57c9f20213e66539fc7686a8b8abc26090aaa59.zip
XEEN: Fixes to the Character Info dialog
Diffstat (limited to 'engines/xeen/dialogs_char_info.cpp')
-rw-r--r--engines/xeen/dialogs_char_info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/dialogs_char_info.cpp b/engines/xeen/dialogs_char_info.cpp
index 9fedb56fcf..1c0d0bfe31 100644
--- a/engines/xeen/dialogs_char_info.cpp
+++ b/engines/xeen/dialogs_char_info.cpp
@@ -88,9 +88,9 @@ void CharacterInfo::execute(int charIndex) {
charIndex = _buttonValue;
c = (oldMode != MODE_InCombat) ? &party._activeParty[charIndex] : party._combatParty[charIndex];
} else {
- _iconSprites.load("view.icn");
_vm->_mode = MODE_CHARACTER_INFO;
}
+ redrawFlag = true;
break;
case Common::KEYCODE_UP:
@@ -290,7 +290,7 @@ Common::String CharacterInfo::loadCharacterDetails(const Character &c) {
RACE_NAMES[c._race], CLASS_NAMES[c._class],
c.statColor(c.getStat(MIGHT), c.getStat(MIGHT, true)), c.getStat(MIGHT),
c.statColor(c.getStat(ACCURACY), c.getStat(ACCURACY, true)), c.getStat(ACCURACY),
- c.statColor(c._currentHp, c.getMaxHP()),
+ c.statColor(c._currentHp, c.getMaxHP()), c._currentHp,
c.getCurrentExperience(),
c.statColor(c.getStat(INTELLECT), c.getStat(INTELLECT, true)), c.getStat(INTELLECT),
c.statColor(c.getStat(LUCK), c.getStat(LUCK, true)), c.getStat(LUCK),