comparison mm7_1.cpp @ 291:0ea5fbd16edb

NPC mostly done
author Gloval
date Tue, 19 Feb 2013 00:34:15 +0400
parents 006188b68143
children 3dcc9d945eeb
comparison
equal deleted inserted replaced
290:4776715a964b 291:0ea5fbd16edb
4776 v12 = &pNPCStats->pNPCData[v11 + 499]; 4776 v12 = &pNPCStats->pNPCData[v11 + 499];
4777 if ( (unsigned __int8)pTmpBuf[v2] < 2 ) 4777 if ( (unsigned __int8)pTmpBuf[v2] < 2 )
4778 v12 = &pParty->pHirelings[v11]; 4778 v12 = &pParty->pHirelings[v11];
4779 v13 = v12->uProfession; 4779 v13 = v12->uProfession;
4780 if ( v13 ) 4780 if ( v13 )
4781 v3 += *(&pNPCStats->field_13A58 + 5 * v13); 4781 v3 += pNPCStats->pProfessions[v13].uHirePrice;//*(&pNPCStats->field_13A58 + 5 * v13);
4782 ++v2; 4782 ++v2;
4783 } 4783 }
4784 while ( (signed int)v2 < v14 ); 4784 while ( (signed int)v2 < v14 );
4785 } 4785 }
4786 if ( CheckHiredNPCSpeciality(0x1Fu) ) 4786 if ( CheckHiredNPCSpeciality(0x1Fu) )