aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-23 08:02:51 -0400
committerPaul Gilbert2018-03-23 08:02:51 -0400
commit9586ff04882af66db0236daf15fc3ac8039267f6 (patch)
tree7dd501e1318cd0edc04770f26062327fb233da4b
parent5cb68f26034bbc24c43f86b6868489daaa53e50a (diff)
downloadscummvm-rg350-9586ff04882af66db0236daf15fc3ac8039267f6.tar.gz
scummvm-rg350-9586ff04882af66db0236daf15fc3ac8039267f6.tar.bz2
scummvm-rg350-9586ff04882af66db0236daf15fc3ac8039267f6.zip
XEEN: Fix equpping armor
-rw-r--r--engines/xeen/item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/item.cpp b/engines/xeen/item.cpp
index fb8dd24aac..cd3ba80b4e 100644
--- a/engines/xeen/item.cpp
+++ b/engines/xeen/item.cpp
@@ -379,7 +379,7 @@ void ArmorItems::equipItem(int itemIndex) {
if (passRestrictions(item._id)) {
for (uint idx = 0; idx < size(); ++idx) {
XeenItem &i = operator[](idx);
- if (i._frame == 9) {
+ if (i._frame == 3) {
equipError(itemIndex, CATEGORY_ARMOR, idx, CATEGORY_ARMOR);
return;
}