diff mm7_1.cpp @ 291:0ea5fbd16edb

NPC mostly done
author Gloval
date Tue, 19 Feb 2013 00:34:15 +0400
parents 006188b68143
children 3dcc9d945eeb
line wrap: on
line diff
--- a/mm7_1.cpp	Mon Feb 18 20:47:41 2013 +0600
+++ b/mm7_1.cpp	Tue Feb 19 00:34:15 2013 +0400
@@ -4778,7 +4778,7 @@
           v12 = &pParty->pHirelings[v11];
         v13 = v12->uProfession;
         if ( v13 )
-          v3 += *(&pNPCStats->field_13A58 + 5 * v13);
+          v3 += pNPCStats->pProfessions[v13].uHirePrice;//*(&pNPCStats->field_13A58 + 5 * v13);
         ++v2;
       }
       while ( (signed int)v2 < v14 );