no land sound when dead, no broken-ear snd effect when dead, knife selection fixed, hud stats in spect mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2058 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -757,7 +757,7 @@ void updatepitch() // set lower pitch if "player's ear got damaged"
|
||||
{
|
||||
if(camera1->type!=ENT_PLAYER) return;
|
||||
playerent *p = (playerent *) camera1;
|
||||
float pitch = lastmillis>p->eardamagemillis ? 1.0f : 0.65f;
|
||||
float pitch = lastmillis<=p->eardamagemillis && p->state!=CS_DEAD ? 0.65 : 1.0f;
|
||||
if(pitch==lastpitch) return;
|
||||
loopv(locations) locations[i].pitch(pitch);
|
||||
lastpitch = pitch;
|
||||
|
||||
Reference in New Issue
Block a user