mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-27 15:25:30 +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;
|
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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user