*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1381 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-10-17 22:23:07 +00:00
parent b8250dd98b
commit e870fca00c
2 changed files with 6 additions and 2 deletions
+5 -2
View File
@@ -330,8 +330,11 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
}
}
// long jump
if(timeinair > 600 && !pl->timeinair) if(local) playsoundc(S_LAND); else playsound(S_LAND, pl);
if(timeinair > 200 && !pl->timeinair)
{
int sound = timeinair > 600 ? S_LAND : S_SOFTLAND;
if(local) playsoundc(sound); else playsound(sound, pl);
}
}
const float gravity = 20.0f;