Mercurial > mm7
diff mm7_6.cpp @ 521:663c4f618f56
Awards tab corrrection
author | Gloval |
---|---|
date | Sat, 02 Mar 2013 01:42:05 +0400 |
parents | 35f28d4c0ff9 |
children | 5196a51cc9ec |
line wrap: on
line diff
--- a/mm7_6.cpp Fri Mar 01 23:43:21 2013 +0400 +++ b/mm7_6.cpp Sat Mar 02 01:42:05 2013 +0400 @@ -7232,7 +7232,7 @@ if ( !pPlayer->CanCastSpell(uRequiredMana) ) goto play_sound_and_continue; HIDWORD(v733) = 0; - memset(&pStru179, 0, 0xFA0u); + memset(&achievedAwardsIndex, 0, 4000); _this = 0; v605 = (char *)pParty->pHirelings; do @@ -7240,7 +7240,7 @@ if ( *(int *)v605) { v606 = HIDWORD(v733)++; - pStru179.field_0[v606] = (int)((char *)&_this->uItemID + 1); + achievedAwardsIndex[v606] = (int)((char *)&_this->uItemID + 1); } _this = (ItemGen *)((char *)_this + 1); v605 += 76;