diff Player.cpp @ 659:c10163a6d946

NPC hiring fixed
author zipi
date Tue, 12 Mar 2013 23:11:11 +0000
parents eb67721c5268
children 8c6c41037c39
line wrap: on
line diff
--- a/Player.cpp	Wed Mar 13 01:30:53 2013 +0200
+++ b/Player.cpp	Tue Mar 12 23:11:11 2013 +0000
@@ -8304,7 +8304,7 @@
             case VAR_NPCs2:
               pParty->field_709 = 0;
               LOBYTE(pNPCStats->pNewNPCData[var_value].uFlags) |= 0x80u;
-              sub_44A56A();
+              Party__CountHirelings();
               viewparams->bRedrawGameUI = 1;
               break;
             case VAR_NumSkillPoints:
@@ -9261,7 +9261,7 @@
           case VAR_NPCs2:
             pParty->field_709 = 0;
             LOBYTE(pNPCStats->pNewNPCData[val].uFlags) |= 0x80u;
-            sub_44A56A();
+            Party__CountHirelings();
             viewparams->bRedrawGameUI = 1;
             break;
           case VAR_NumSkillPoints:
@@ -9377,7 +9377,7 @@
               {
                 pParty->field_709 = 0;
                 LOBYTE(pNPCStats->pNewNPCData[(int)pValue].uFlags) &= 0x7Fu;
-                sub_44A56A();
+                Party__CountHirelings();
                 viewparams->bRedrawGameUI = 1;
               }
               break;
@@ -9404,7 +9404,7 @@
               if ( pParty->pHirelings[1].uProfession == pValue )
                 memset(&pParty->pHirelings[1], 0, 0x4Cu);
               pParty->field_709 = 0;
-              sub_44A56A();
+              Party__CountHirelings();
               break;
             case 243:
               v17 = (char *)&this->uSkillPoints;