comparison mm7_6.cpp @ 521:663c4f618f56

Awards tab corrrection
author Gloval
date Sat, 02 Mar 2013 01:42:05 +0400
parents 35f28d4c0ff9
children 5196a51cc9ec
comparison
equal deleted inserted replaced
520:35f28d4c0ff9 521:663c4f618f56
7230 goto LABEL_1056; 7230 goto LABEL_1056;
7231 case 96: 7231 case 96:
7232 if ( !pPlayer->CanCastSpell(uRequiredMana) ) 7232 if ( !pPlayer->CanCastSpell(uRequiredMana) )
7233 goto play_sound_and_continue; 7233 goto play_sound_and_continue;
7234 HIDWORD(v733) = 0; 7234 HIDWORD(v733) = 0;
7235 memset(&pStru179, 0, 0xFA0u); 7235 memset(&achievedAwardsIndex, 0, 4000);
7236 _this = 0; 7236 _this = 0;
7237 v605 = (char *)pParty->pHirelings; 7237 v605 = (char *)pParty->pHirelings;
7238 do 7238 do
7239 { 7239 {
7240 if ( *(int *)v605) 7240 if ( *(int *)v605)
7241 { 7241 {
7242 v606 = HIDWORD(v733)++; 7242 v606 = HIDWORD(v733)++;
7243 pStru179.field_0[v606] = (int)((char *)&_this->uItemID + 1); 7243 achievedAwardsIndex[v606] = (int)((char *)&_this->uItemID + 1);
7244 } 7244 }
7245 _this = (ItemGen *)((char *)_this + 1); 7245 _this = (ItemGen *)((char *)_this + 1);
7246 v605 += 76; 7246 v605 += 76;
7247 } 7247 }
7248 while ( (signed int)v605 < (signed int)&pParty->pPickedItem ); 7248 while ( (signed int)v605 < (signed int)&pParty->pPickedItem );