mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 11:31:23 +00:00
Create new response concept
This commit is contained in:
parent
0759e2e8e1
commit
764844798c
1 changed files with 6 additions and 0 deletions
|
@ -1186,6 +1186,12 @@ void CTeamTrainWatcher::WatcherThink( void )
|
|||
{
|
||||
if ( m_hAreaCap->IsTouching( pPlayer ) )
|
||||
{
|
||||
// only makes sense for offense
|
||||
pPlayer->SpeakConceptIfAllowed( MP_CONCEPT_CART_PUSHING );
|
||||
}
|
||||
else
|
||||
{
|
||||
// for offense and defense, since cart doesn't move when red is touching
|
||||
pPlayer->SpeakConceptIfAllowed( MP_CONCEPT_CART_MOVING_FORWARD );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue