Mercurial > mm7
diff mm7_2.cpp @ 377:243418228760
GetIdentifiedName
author | Gloval |
---|---|
date | Fri, 22 Feb 2013 22:27:45 +0400 |
parents | edd2d8b7e3c4 |
children | c0700eaabeb8 |
line wrap: on
line diff
--- a/mm7_2.cpp Fri Feb 22 20:03:15 2013 +0400 +++ b/mm7_2.cpp Fri Feb 22 22:27:45 2013 +0400 @@ -7989,7 +7989,7 @@ } a1a.stru_24.SetIdentified(); a1a.uObjectDescID = v18; - a1a.stru_24.uAdditionalValue = v34; + a1a.stru_24.uSpecEnchantmentType = v34; goto LABEL_35; } v14 = rand() % 3001 + 2000; @@ -8147,7 +8147,7 @@ } LABEL_23: v3->SetIdentified(); - v3->uAdditionalValue = v10; + v3->uSpecEnchantmentType = v10; LABEL_25: v11 = v4 - 1; v12 = 0; @@ -8212,7 +8212,7 @@ v14->uItemID = 199; } LABEL_49: - v14->uAdditionalValue = v17; + v14->uSpecEnchantmentType = v17; LABEL_51: v12 = v13 + 1; LABEL_52: @@ -15176,7 +15176,7 @@ v20 = pLayingItems[v18].stru_24.uItemID; if ( pItemsTable->pItems[v20].uEquipType == 18 ) { - party_finds_gold(v19->uAdditionalValue, 0); + party_finds_gold(v19->uSpecEnchantmentType, 0); viewparams->bRedrawGameUI = 1; v21 = v17; } @@ -16583,7 +16583,7 @@ break; case 545: case 550: - if ( v2->stru_24.uItemID != 405 && v2->stru_24.uAdditionalValue != 3 ) + if ( v2->stru_24.uItemID != 405 && v2->stru_24.uSpecEnchantmentType != 3 ) { v14 = v153; v9 = 0;