mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 14:25:32 +03:00
Fix TLK_NEW_ENEMY not playing on headcrabs or zombies
This commit is contained in:
parent
e1c890a011
commit
7c5c90ebeb
@ -680,7 +680,8 @@ void CNPC_PlayerCompanion::DoCustomSpeechAI( void )
|
||||
SpeakIfAllowed( "TLK_SPOTTED_ZOMBIE_WAKEUP" );
|
||||
}
|
||||
}
|
||||
else if ( gpGlobals->curtime - GetEnemies()->TimeAtFirstHand( GetEnemy() ) <= 1.0f && nClass != CLASS_BULLSEYE )
|
||||
|
||||
if ( gpGlobals->curtime - GetEnemies()->TimeAtFirstHand( GetEnemy() ) <= 1.0f && nClass != CLASS_BULLSEYE )
|
||||
{
|
||||
// New concept which did not originate from Alyx, but is in the same category as the above concepts.
|
||||
// This is meant to be used when a new enemy enters the arena while combat is already in progress.
|
||||
|
Loading…
Reference in New Issue
Block a user