aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_items.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-22 20:09:23 -0400
committerPaul Gilbert2016-09-22 20:09:23 -0400
commit1dbe64b2ffb47871ed0947f1f286bafa314f9bf3 (patch)
treefc59182422aec6218375d97c5285a37a5c826800 /engines/xeen/dialogs_items.cpp
parent4515d7a1ac119edfa9bfce90655cab2d4d279582 (diff)
downloadscummvm-rg350-1dbe64b2ffb47871ed0947f1f286bafa314f9bf3.tar.gz
scummvm-rg350-1dbe64b2ffb47871ed0947f1f286bafa314f9bf3.tar.bz2
scummvm-rg350-1dbe64b2ffb47871ed0947f1f286bafa314f9bf3.zip
XEEN: Fix some compiler warnings
Diffstat (limited to 'engines/xeen/dialogs_items.cpp')
-rw-r--r--engines/xeen/dialogs_items.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_items.cpp b/engines/xeen/dialogs_items.cpp
index 0260ddc5f9..be0c2dab1c 100644
--- a/engines/xeen/dialogs_items.cpp
+++ b/engines/xeen/dialogs_items.cpp
@@ -718,7 +718,7 @@ int ItemsDialog::calcItemCost(Character *c, int itemIndex, ItemsMode mode,
if (i._material < 37)
amount2 = Res.ELEMENTAL_DAMAGE[i._material] * 100;
else if (i._material > 58)
- amount3 = Res.METAL_BASE_MULTIPLIERS[i._material - 37] * 100;
+ amount3 = Res.ELEMENTAL_DAMAGE[i._material - 59 + 7] * 100;
switch (mode) {
case ITEMMODE_BLACKSMITH: