Browse Source

game: restore combine ability to play pain sounds

pull/100/head
SanyaSho 2 years ago
parent
commit
4ae9719b74
  1. 2
      game/server/hl2/npc_combine.cpp
  2. 2
      game/server/hl2/npc_combine.h

2
game/server/hl2/npc_combine.cpp

@ -2565,7 +2565,7 @@ void CNPC_Combine::SpeakSentence( int sentenceType )
//========================================================= //=========================================================
// PainSound // PainSound
//========================================================= //=========================================================
void CNPC_Combine::PainSound ( void ) void CNPC_Combine::PainSound ( const CTakeDamageInfo &damageinfo )
{ {
// NOTE: The response system deals with this at the moment // NOTE: The response system deals with this at the moment
if ( GetFlags() & FL_DISSOLVING ) if ( GetFlags() & FL_DISSOLVING )

2
game/server/hl2/npc_combine.h

@ -126,7 +126,7 @@ public:
// Sounds // Sounds
// ------------- // -------------
void DeathSound( void ); void DeathSound( void );
void PainSound( void ); void PainSound( const CTakeDamageInfo &damageinfo );
void IdleSound( void ); void IdleSound( void );
void AlertSound( void ); void AlertSound( void );
void LostEnemySound( void ); void LostEnemySound( void );

Loading…
Cancel
Save