diff Player.cpp @ 45:bcc051713d20

BLV render & seffects
author Nomad
date Mon, 22 Oct 2012 20:45:14 +0200
parents 7071e4688db6
children 79a30ee1ecdb
line wrap: on
line diff
--- a/Player.cpp	Sun Oct 21 23:26:23 2012 +0600
+++ b/Player.cpp	Mon Oct 22 20:45:14 2012 +0200
@@ -7,7 +7,7 @@
 #include "Party.h"
 #include "GUIButton.h"
 #include "LOD.h"
-#include "Monsters.h"
+#include "Monsters.h" 
 #include "GUIWindow.h"
 #include "Viewport.h"
 #include "Actor.h"
@@ -4656,7 +4656,7 @@
   {
     if ( !HasItemEquipped((ITEM_EQUIP_TYPE)v3) )
       goto LABEL_11;
-    v5 = *(int *)v4 - 1;                     // BUG
+    v5 = pEquipment.uOffHand  - 1;            // BUG
                                                 // v5 = _this->cEquippedItems.uOffHand - 1;
     if ( a2 != 17 )
       break;