git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4949 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-20 19:24:51 +00:00
parent eea6e5c401
commit 35b58ee683
+2 -1
View File
@@ -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;
}
}