From b17d871269828bbd12c2790ee5ddafa54af8ed9b Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 26 Sep 2007 19:39:08 +0000 Subject: * (bug 3305) Remove inappropriate SnapVector * Don't display creep over a certain height --- src/game/g_physics.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/game') diff --git a/src/game/g_physics.c b/src/game/g_physics.c index b5221352..58c64878 100644 --- a/src/game/g_physics.c +++ b/src/game/g_physics.c @@ -62,9 +62,6 @@ static void G_Bounce( gentity_t *ent, trace_t *trace ) if( VectorLength( ent->s.pos.trDelta ) < 10 ) { VectorMA( trace->endpos, 0.5f, trace->plane.normal, trace->endpos ); // make sure it is off ground - // Never allow origin to be snapped lower (buildables fall through map bug) - trace->endpos[2] = (float)ceil(trace->endpos[2]); - SnapVector( trace->endpos ); G_SetOrigin( ent, trace->endpos ); ent->s.groundEntityNum = trace->entityNum; VectorCopy( trace->plane.normal, ent->s.origin2 ); -- cgit