diff Player.cpp @ 667:8c6c41037c39

profession NPC dialogue fixed WearsItem fix
author zipi
date Thu, 14 Mar 2013 20:04:21 +0000
parents c10163a6d946
children 735dab8d3c9a 277c05c3a89f
line wrap: on
line diff
--- a/Player.cpp	Wed Mar 13 17:08:21 2013 +0600
+++ b/Player.cpp	Thu Mar 14 20:04:21 2013 +0000
@@ -3391,7 +3391,7 @@
     return 1;
   }
   if ( HasItemEquipped((ITEM_EQUIP_TYPE)a2)
-    && *(int *)&this->pInventoryItems[*(&v4->pEquipment.uOffHand + v3)-1] == a1 )
+    && *(int *)&this->pInventoryItems[*(&this->pEquipment.uOffHand + v3)-1] == a1 )
     return 1;
   return 0;
 }