game: restore combine ability to play pain sounds

This commit is contained in:
SanyaSho 2022-08-03 17:34:05 +03:00
parent 0f7d9d029f
commit 4ae9719b74
2 changed files with 2 additions and 2 deletions

View File

@ -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 )

View File

@ -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 );