src/game/Strategic/Town_Militia.cc
static void MilitiaTrainingRejected(void)
{
	if( gfYesNoPromptIsForContinue )
	{
		// take all mercs in that sector off militia training
		ResetAssignmentOfMercsThatWereTrainingMilitiaInThisSector( pMilitiaTrainerSoldier->sSectorX, pMilitiaTrainerSoldier->sSectorY );
	}
	else
	{
		// take all mercs in unpaid sectors EVERYWHERE off militia training
		ResetAssignmentsForMercsTrainingUnpaidSectorsInSelectedList();
	}

	// this completes the training prompt sequence
	pMilitiaTrainerSoldier = NULL;
}
// IMPORTANT: This same callback is used both for initial training and for continue training prompt
// use 'gfYesNoPromptIsForContinue' flag to tell them apart
This same callback is used both for initial training and for continue training prompt
use 'gfYesNoPromptIsForContinue' flag to tell them apart
This same callback is used both for initial training and for continue training prompt use ' gfYesNoPromptIsForContinue ' flag to tell them apart
static void MilitiaTrainingRejected(void)
{
	if( gfYesNoPromptIsForContinue )
	{
		ResetAssignmentOfMercsThatWereTrainingMilitiaInThisSector( pMilitiaTrainerSoldier->sSectorX, pMilitiaTrainerSoldier->sSectorY );
	}
	else
	{
		ResetAssignmentsForMercsTrainingUnpaidSectorsInSelectedList();
	}
	pMilitiaTrainerSoldier = NULL;
}
static void MilitiaTrainingRejected ( void ) { if ( gfYesNoPromptIsForContinue ) { ResetAssignmentOfMercsThatWereTrainingMilitiaInThisSector ( pMilitiaTrainerSoldier -> sSectorX , pMilitiaTrainerSoldier -> sSectorY ) ; } else { ResetAssignmentsForMercsTrainingUnpaidSectorsInSelectedList ( ) ; } pMilitiaTrainerSoldier = NULL ; }
IMPORTANT: This same callback is used both for initial training and for continue training prompt
use 'gfYesNoPromptIsForContinue' flag to tell them apart
IMPORTANT : This same callback is used both for initial training and for continue training prompt use ' gfYesNoPromptIsForContinue ' flag to tell them apart
// take all mercs in that sector off militia training // take all mercs in unpaid sectors EVERYWHERE off militia training // this completes the training prompt sequence