From 769ab6b321c28b5b1d6e324536a2478051475c76 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 17 Feb 2006 19:59:43 +0000 Subject: [PATCH] Urm, improoved onground stuff. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1973 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_phys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/server/sv_phys.c b/engine/server/sv_phys.c index 2e55b3ffc..7a794d34d 100644 --- a/engine/server/sv_phys.c +++ b/engine/server/sv_phys.c @@ -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) {