fixing
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4949 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -448,7 +448,8 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime)
|
||||
else
|
||||
{
|
||||
pl->timeinair += curtime;
|
||||
if (pl->trycrouch && !pl->crouching) pl->vel.z += 1.0f;
|
||||
if (pl->trycrouch && !pl->crouching) pl->vel.z += 0.8f;
|
||||
if (!pl->trycrouch && pl->crouching) pl->vel.z -= 0.8f;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user