# HG changeset patch # User Gloval # Date 1369512196 -14400 # Node ID 7033eb155558d6b8b0e404d89fac38f61cf68b2e # Parent 6ea7c693a1cfe135ebaa0bcec922a7c13cfdebcd bugfix diff -r 6ea7c693a1cf -r 7033eb155558 Items.cpp --- a/Items.cpp Sat May 25 23:51:56 2013 +0400 +++ b/Items.cpp Sun May 26 00:03:16 2013 +0400 @@ -306,6 +306,7 @@ pItemsTXT_Raw = NULL; } + //----- (00456D84) -------------------------------------------------------- void ItemsTable::Initialize() { diff -r 6ea7c693a1cf -r 7033eb155558 Items.h --- a/Items.h Sat May 25 23:51:56 2013 +0400 +++ b/Items.h Sun May 26 00:03:16 2013 +0400 @@ -117,8 +117,8 @@ EQUIP_HELMET = 5, EQUIP_BELT = 6, EQUIP_CLOAK = 7, - EQUIP_BOOTS = 8, - EQUIP_GAUNTLETS = 9, + EQUIP_GAUNTLETS = 8, + EQUIP_BOOTS = 9, EQUIP_RING = 10, EQUIP_AMULET = 11, EQUIP_WAND = 12, diff -r 6ea7c693a1cf -r 7033eb155558 Player.cpp --- a/Player.cpp Sat May 25 23:51:56 2013 +0400 +++ b/Player.cpp Sun May 26 00:03:16 2013 +0400 @@ -1101,7 +1101,7 @@ if ( a3 == 1 && (HasEnchantedItemEquipped(19) || WearsItem(ITEM_ARTIFACT_YORUBA, EQUIP_ARMOUR) || - WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_BELT)) ) + WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_CLOAK)) ) return 0; PlaySound((PlayerSpeech)29, 0); @@ -1119,7 +1119,7 @@ } if ( HasEnchantedItemEquipped(21) || WearsItem(ITEM_ARTIFACT_YORUBA, EQUIP_ARMOUR) - || WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_BELT) ) + || WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_CLOAK) ) //goto LABEL_76; return 0; } @@ -1143,7 +1143,7 @@ if ( HasEnchantedItemEquipped(18) || WearsItem(ITEM_ARTIFACT_YORUBA, EQUIP_ARMOUR) || - WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_BELT) ) + WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_CLOAK) ) return 0; } PlaySound((PlayerSpeech)28, 0); @@ -1162,7 +1162,7 @@ if ( HasEnchantedItemEquipped(20)|| WearsItem(ITEM_ARTIFACT_YORUBA, EQUIP_ARMOUR)|| WearsItem(ITEM_ARTIFACT_GHOULSBANE, EQIUP_ANY)|| - WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_BELT)) + WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_CLOAK)) return 0; } break; @@ -1191,7 +1191,7 @@ || HasEnchantedItemEquipped(23)|| WearsItem(ITEM_RELIC_KELEBRIM, EQIUP_ANY) || WearsItem(ITEM_ARTIFACT_YORUBA, EQUIP_ARMOUR) || - WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_BELT)) ) + WearsItem(ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP, EQUIP_CLOAK)) ) return 0; PlaySound((PlayerSpeech)34, 0);