diff mm7_4.cpp @ 1384:b51332ab228f

changed a few member variables in Player to slightly less confusing names
author Grumpy7
date Tue, 16 Jul 2013 20:51:29 +0200
parents 5572e7b02f45
children 613c77e51e38
line wrap: on
line diff
--- a/mm7_4.cpp	Tue Jul 16 00:40:01 2013 +0200
+++ b/mm7_4.cpp	Tue Jul 16 20:51:29 2013 +0200
@@ -1302,7 +1302,7 @@
       {
         //v23 = v21->pEquipment.pIndices;
         auto _idx = v21->pEquipment.pIndices[v22];
-        v24 = v21->pInventoryItems[_idx].uItemID;
+        v24 = v21->pInventoryItemList[_idx].uItemID;
         if ( v24 > 134 )
         {
           if ( v24 == 529 )
@@ -1321,7 +1321,7 @@
         }
         else
         {
-          v25 = v21->pInventoryItems[_idx].uSpecEnchantmentType;
+          v25 = v21->pInventoryItemList[_idx].uSpecEnchantmentType;
           if ( v25 <= 50 )
           {
             if ( v25 != 50 )
@@ -1369,7 +1369,7 @@
         if ( v48 )
         {
           v31 = 0;
-          v32 = (char *)v21->pInventoryItems;
+          v32 = (char *)v21->pInventoryItemList;
           while ( *(int *)v32 != 601 || (unsigned __int8)v32[26] != v49 + 1 )
           {
             ++v31;
@@ -5234,7 +5234,7 @@
         v6 = pParty->pPlayers;//[0].pInventoryItems[0].field_1A;
         do
         {
-		  v7 = v6->pInventoryItems;
+		  v7 = v6->pInventoryItemList;
           v8 = 138;
           do
           {