Mercurial > mm7
diff 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 |
line wrap: on
line diff
--- a/SaveLoad.cpp Tue Jul 16 00:40:01 2013 +0200 +++ b/SaveLoad.cpp Tue Jul 16 20:51:29 2013 +0200 @@ -185,7 +185,7 @@ uint uEquipIdx = pParty->pPlayers[i].pEquipment.pIndices[j]; if (uEquipIdx) { - auto uItemID = pParty->pPlayers[i].pInventoryItems[uEquipIdx - 1].uItemID; + auto uItemID = pParty->pPlayers[i].pInventoryItemList[uEquipIdx - 1].uItemID; if (pItemsTable->pItems[uItemID].uEquipType == 12) { __debugbreak(); // looks like offset in player's inventory and wand_lut much like case in 0042ECB5