game: restore combine ability to play pain sounds

This commit is contained in:
SanyaSho 2022-08-03 17:34:05 +03:00
parent 357efab5c7
commit d88dfa2db3
2 changed files with 2 additions and 2 deletions

View file

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

View file

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