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; break;
} }
#ifdef MAPBASE
SetSpeechTarget( GetTarget() );
#endif
Speak( TLK_HEAL ); Speak( TLK_HEAL );
} }
else if ( IsAmmoResupplier() ) else if ( IsAmmoResupplier() )
{ {
#ifdef MAPBASE
SetSpeechTarget( GetTarget() );
#endif
Speak( TLK_GIVEAMMO ); Speak( TLK_GIVEAMMO );
} }
SetIdealActivity( (Activity)ACT_CIT_HEAL ); SetIdealActivity( (Activity)ACT_CIT_HEAL );