mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 22:35:31 +03:00
Added SetSpeechTarget() for citizen heal/ammo concepts
This commit is contained in:
parent
ebf24e98e3
commit
5536021e4f
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user