- New Feature: Tactical recruitment allows recruiting civilians as volunteers.

See http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=341335&#msg_341335

This is fully savegame compatible.
GameDir <= r2250 is recommended.
- Fix: prisoners do not talk.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7886 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2015-06-03 21:04:06 +00:00
parent 6c9d75480f
commit 962393d170
7 changed files with 125 additions and 4 deletions
+4
View File
@@ -3839,6 +3839,10 @@ void HandleNPCTeamMemberDeath( SOLDIERTYPE *pSoldierOld )
// Flugente: if this was a prisoner of war, reduce their sector count by 1
if ( pSoldierOld->usSoldierFlagMask & SOLDIER_POW_PRISON )
KillOnePrisoner( &SectorInfo[ SECTOR( gWorldSectorX, gWorldSectorY ) ] );
// If this was a volunteer, then we definetly reduce our volunteer pool
if ( pSoldierOld->bTeam == CIV_TEAM && pSoldierOld->ubCivilianGroup == VOLUNTEER_CIV_GROUP )
AddVolunteers( -1 );
}
else if ( pSoldierOld->bTeam == MILITIA_TEAM )
{