Skip to content

Commit

Permalink
debug statement...
Browse files Browse the repository at this point in the history
  • Loading branch information
sabianroberts committed Nov 25, 2024
1 parent b8479b8 commit b380cfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SourceCode/dlls/scientist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ void CScientist :: Precache( void )
PRECACHE_SOUND("scientist/sci_pain3.wav");
PRECACHE_SOUND("scientist/sci_pain4.wav");
PRECACHE_SOUND("scientist/sci_pain5.wav");
PRECACHE_SOUND("monkeylaugh.wav");
PRECACHE_SOUND("scream.wav");

// every new scientist must call this, otherwise
Expand Down Expand Up @@ -808,7 +809,11 @@ void CScientist :: PainSound ( void )
//=========================================================
void CScientist :: DeathSound ( void )
{
#ifdef _DEBUG
EMIT_SOUND_DYN(ENT(pev), CHAN_VOICE, "monkeylaugh.wav", 1, ATTN_NORM, 0, GetVoicePitch());
#else
EMIT_SOUND_DYN(ENT(pev), CHAN_VOICE, "scream.wav", 1, ATTN_NORM, 0, GetVoicePitch());
#endif
}


Expand Down

0 comments on commit b380cfe

Please sign in to comment.