disable heartbeat in osok gamemodes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7014 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -568,7 +568,7 @@ void audiomanager::updateaudio()
|
||||
location *tinnitusloc = updateloopsound(S_TINNITUS, tinnitus);
|
||||
|
||||
// heartbeat
|
||||
bool heartbeatsound = heartbeat && alive && firstperson && player1->health <= heartbeat;
|
||||
bool heartbeatsound = heartbeat && alive && firstperson && !m_osok && player1->health <= heartbeat;
|
||||
updateloopsound(S_HEARTBEAT, heartbeatsound);
|
||||
|
||||
// pitch fx
|
||||
|
||||
Reference in New Issue
Block a user