diff options
author | Tim Angus <tim@ngus.net> | 2006-06-10 22:06:00 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-06-10 22:06:00 +0000 |
commit | 35d65e7ce52575407adb5e101590aec3ab95f772 (patch) | |
tree | fed9c02308cd9aaad6fe3c852e46082aa4ba498e /src/cgame/cg_buildable.c | |
parent | b68c8fc89f688ee6d0e1fa095cb29f6d2190c791 (diff) |
* 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
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r-- | src/cgame/cg_buildable.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |