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