From 35d65e7ce52575407adb5e101590aec3ab95f772 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 10 Jun 2006 22:06:00 +0000 Subject: * Fix to worldspawn defaults bug * Fix to > max damage zap bug * Add g_mapConfigs * Fix item switch when run out of ammo * Fix client side buildable tracing * Fix misc_portal_surface documentation --- src/cgame/cg_buildable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c index 62a32f0c..2f1eb239 100644 --- a/src/cgame/cg_buildable.c +++ b/src/cgame/cg_buildable.c @@ -621,12 +621,12 @@ static void CG_PositionAndOrientateBuildable( const vec3_t angles, const vec3_t VectorMA( inOrigin, -TRACE_DEPTH, normal, end ); VectorMA( inOrigin, 1.0f, normal, start ); - CG_CapTrace( &tr, start, mins, maxs, end, skipNumber, MASK_SOLID ); + CG_CapTrace( &tr, start, mins, maxs, end, skipNumber, MASK_PLAYERSOLID ); if( tr.fraction == 1.0f ) { //erm we missed completely - try again with a box trace - CG_Trace( &tr, start, mins, maxs, end, skipNumber, MASK_SOLID ); + CG_Trace( &tr, start, mins, maxs, end, skipNumber, MASK_PLAYERSOLID ); } VectorMA( inOrigin, tr.fraction * -TRACE_DEPTH, normal, outOrigin ); -- cgit