Added SetSpeechTarget() for citizen heal/ammo concepts

This commit is contained in:
Blixibon 2022-07-16 00:04:46 -05:00
parent ebf24e98e3
commit 5536021e4f

View File

@ -1800,10 +1800,16 @@ void CNPC_Citizen::StartTask( const Task_t *pTask )
break;
}
#ifdef MAPBASE
SetSpeechTarget( GetTarget() );
#endif
Speak( TLK_HEAL );
}
else if ( IsAmmoResupplier() )
{
#ifdef MAPBASE
SetSpeechTarget( GetTarget() );
#endif
Speak( TLK_GIVEAMMO );
}
SetIdealActivity( (Activity)ACT_CIT_HEAL );