diff Player.cpp @ 1082:7033eb155558

bugfix
author Gloval
date Sun, 26 May 2013 00:03:16 +0400
parents 9456f2ed5ff9
children 9c7eb4037567
line wrap: on
line diff
--- 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);