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:
driAn
2008-05-19 22:41:00 +00:00
parent 2f698c3df4
commit 488b837ad1
10 changed files with 36 additions and 84 deletions
+5 -1
View File
@@ -367,7 +367,11 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
if(timeinair > 200 && !pl->timeinair)
{
int sound = timeinair > 800 ? S_HARDLAND : S_SOFTLAND;
if(local) playsoundc(sound); else playsound(sound, pl);
if(pl->state!=CS_DEAD)
{
if(local) playsoundc(sound);
else playsound(sound, pl);
}
}
const float gravity = 20.0f;