aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-31 17:04:07 -0400
committerPaul Gilbert2018-03-31 17:04:07 -0400
commit3951c6d2f799e5e288459868acc348bea018061e (patch)
tree5c9d901a015b97ba67c250217e8a61a609a91fba /engines/xeen/dialogs
parentfa28f4cfd9a63d6342875ca1825d716e91ebc1ac (diff)
downloadscummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.tar.gz
scummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.tar.bz2
scummvm-rg350-3951c6d2f799e5e288459868acc348bea018061e.zip
XEEN: Fixes for enchanting items
Diffstat (limited to 'engines/xeen/dialogs')
-rw-r--r--engines/xeen/dialogs/dialogs_items.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/xeen/dialogs/dialogs_items.cpp b/engines/xeen/dialogs/dialogs_items.cpp
index 41233c9946..f844964396 100644
--- a/engines/xeen/dialogs/dialogs_items.cpp
+++ b/engines/xeen/dialogs/dialogs_items.cpp
@@ -61,6 +61,8 @@ Character *ItemsDialog::execute(Character *c, ItemsMode mode) {
c = &_itemsCharacter;
party._blacksmithWares.blackData2CharData(_itemsCharacter);
setEquipmentIcons();
+ } else if (mode == ITEMMODE_ENCHANT) {
+ _oldCharacter = c;
}
events.setCursor(0);