aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2019-04-07 04:02:32 +0200
committerathrxx2019-04-13 18:55:01 +0200
commit2692702892d746731c8adc870c885f0be21d20f8 (patch)
tree48b1f778423f1dce207ba31265c46e16cc63e5b2 /engines
parentf96310dec6b7ecff17913f913b1b5518ad458870 (diff)
downloadscummvm-rg350-2692702892d746731c8adc870c885f0be21d20f8.tar.gz
scummvm-rg350-2692702892d746731c8adc870c885f0be21d20f8.tar.bz2
scummvm-rg350-2692702892d746731c8adc870c885f0be21d20f8.zip
KYRA: (EOB) - fix party transfer glitch
(recalculate armor class after party transfer from EOB I to EOB II)
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/engine/chargen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/engine/chargen.cpp b/engines/kyra/engine/chargen.cpp
index 8d5619c488..2ae9682ed2 100644
--- a/engines/kyra/engine/chargen.cpp
+++ b/engines/kyra/engine/chargen.cpp
@@ -1847,6 +1847,8 @@ void TransferPartyWiz::convertInventory() {
c->inventory[slot] = convertItem(itm);
}
}
+
+ _vm->recalcArmorClass(i);
}
}