diff mm7_2.cpp @ 910:8cd0b155bebe

Rings
author Ritor1
date Mon, 22 Apr 2013 17:34:36 +0600
parents f3ccfc765502
children a8a3efd631de
line wrap: on
line diff
--- a/mm7_2.cpp	Mon Apr 22 09:25:22 2013 +0600
+++ b/mm7_2.cpp	Mon Apr 22 17:34:36 2013 +0600
@@ -9618,7 +9618,7 @@
 			return;
 		}
         v52 = 10;
-        v7 = (int)&v0->pEquipment.field_28;
+        v7 = (int)&v0->pEquipment.uRings;
         while ( 1 )
         {
           if ( !*(int *)v7 )
@@ -9641,7 +9641,7 @@
         }
         if ( v52 == 16 )
         {
-          v52 = v0->pEquipment.field_3C - 1;
+          v52 = v0->pEquipment.uRings[6] - 1;
           memcpy(&_this, &pParty->pPickedItem, sizeof(_this));
           v10 = (int)((char *)v0 + 36 * v52);
           *(char *)(v10 + 556) = 0;
@@ -9650,7 +9650,7 @@
           _this.uBodyAnchor = 16;
           v11 = v52 + 1;
           memcpy((void *)(v10 + 532), &_this, 0x24u);
-          v0->pEquipment.field_3C = v11;
+          v0->pEquipment.uRings[6] = v11;
         }
         return;
       case 4u: