comparison SaveLoad.cpp @ 1399:91ff22cc755b

Слияние
author Ritor1
date Thu, 18 Jul 2013 09:40:14 +0600
parents b51332ab228f
children 7cc3b01a92ac
comparison
equal deleted inserted replaced
1398:8557d021a31b 1399:91ff22cc755b
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);