Mercurial > mm7
comparison mm7_5.cpp @ 222:8113753ed2ae
more item init fixing
author | Gloval |
---|---|
date | Sun, 17 Feb 2013 11:29:10 +0400 |
parents | 4813b57396ba |
children | 1bd823f52e3a |
comparison
equal
deleted
inserted
replaced
193:821fd955c379 | 222:8113753ed2ae |
---|---|
15889 v20 = v47 + 50 * v15; | 15889 v20 = v47 + 50 * v15; |
15890 v0->pInventoryItems[pOut.z].uItemID = v51; | 15890 v0->pInventoryItems[pOut.z].uItemID = v51; |
15891 v0->pInventoryItems[pOut.z]._bonus_type = (pParty->pPickedItem._bonus_type | 15891 v0->pInventoryItems[pOut.z]._bonus_type = (pParty->pPickedItem._bonus_type |
15892 + v0->pInventoryItems[pOut.z]._bonus_type) | 15892 + v0->pInventoryItems[pOut.z]._bonus_type) |
15893 / 2; | 15893 / 2; |
15894 v0->SetVariable(VAR_AutoNotes, *(short *)&pItemsTable->field_10168[2 * v20 + 388]); | 15894 v0->SetVariable(VAR_AutoNotes, *(short *)&pItemsTable->potion_note[2 * v20 ]);//field_10168 + 388 |
15895 LABEL_74: | 15895 LABEL_74: |
15896 v22 = (int)((char *)v0 + 36 * pOut.z); | 15896 v22 = (int)((char *)v0 + 36 * pOut.z); |
15897 if ( !BYTE2(pItemsTable->pItems[*(int *)(v22 + 532) + 1].uItemID) ) | 15897 if ( !(pItemsTable->pItems[*(int *)(v22 + 532) ].uItemID_Rep_St) ) |
15898 *(int *)(v22 + 552) |= 1u; | 15898 *(int *)(v22 + 552) |= 1u; |
15899 if ( !dword_4E455C ) | 15899 if ( !dword_4E455C ) |
15900 goto LABEL_92; | 15900 goto LABEL_92; |
15901 v0->PlaySound(SPEECH_16, 0); | 15901 v0->PlaySound(SPEECH_16, 0); |
15902 goto LABEL_91; | 15902 goto LABEL_91; |