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:
Lucas GAUTHERON
2012-12-30 22:08:35 +00:00
parent f2a9b61683
commit c9de0d8eb8
+1 -1
View File
@@ -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