comparison SaveLoad.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 13b7be8b06a0
children 7cc3b01a92ac
comparison
equal deleted inserted replaced
1383:0a4254e80036 1384:b51332ab228f
183 for (uint j = 0; j < 2; ++j) 183 for (uint j = 0; j < 2; ++j)
184 { 184 {
185 uint uEquipIdx = pParty->pPlayers[i].pEquipment.pIndices[j]; 185 uint uEquipIdx = pParty->pPlayers[i].pEquipment.pIndices[j];
186 if (uEquipIdx) 186 if (uEquipIdx)
187 { 187 {
188 auto uItemID = pParty->pPlayers[i].pInventoryItems[uEquipIdx - 1].uItemID; 188 auto uItemID = pParty->pPlayers[i].pInventoryItemList[uEquipIdx - 1].uItemID;
189 if (pItemsTable->pItems[uItemID].uEquipType == 12) 189 if (pItemsTable->pItems[uItemID].uEquipType == 12)
190 { 190 {
191 __debugbreak(); // looks like offset in player's inventory and wand_lut much like case in 0042ECB5 191 __debugbreak(); // looks like offset in player's inventory and wand_lut much like case in 0042ECB5
192 v31 = *((int *)&pSpellDatas[66].uNormalLevelRecovery + uItemID); 192 v31 = *((int *)&pSpellDatas[66].uNormalLevelRecovery + uItemID);
193 stru_A750F8[i]._494836(v31, i + 9); 193 stru_A750F8[i]._494836(v31, i + 9);