Urm, improoved onground stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1973 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0bd1517522
commit
769ab6b321
1 changed files with 2 additions and 2 deletions
|
@ -1035,9 +1035,9 @@ void SV_Physics_Toss (edict_t *ent)
|
|||
// if onground, return without moving
|
||||
if ( ((int)ent->v->flags & FL_ONGROUND) )
|
||||
{
|
||||
if (ent->v->velocity[2] > 0)
|
||||
if (ent->v->velocity[2] >= (1.0f/32.0f))
|
||||
ent->v->flags = (int)ent->v->flags & ~FL_ONGROUND;
|
||||
else if (ent->v->groundentity)
|
||||
else
|
||||
{
|
||||
if (sv_gameplayfix_noairborncorpse.value)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue