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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user