From e6513f95705560250f00f1ccc0707e01e318192f Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 1 Oct 2007 14:52:21 +0000 Subject: * Fix to bug where crouching and moving wouldn't replenish stamina * s/MASK_PLAYERSOLID & ~CONTENTS_BODY/MASK_DEADSOLID/ * When finding a player in the server browser, only list each server once --- src/cgame/cg_predict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_predict.c b/src/cgame/cg_predict.c index 59a1641b..e167f0f8 100644 --- a/src/cgame/cg_predict.c +++ b/src/cgame/cg_predict.c @@ -583,12 +583,12 @@ void CG_PredictPlayerState( void ) cg_pmove.debugLevel = cg_debugMove.integer; if( cg_pmove.ps->pm_type == PM_DEAD ) - cg_pmove.tracemask = MASK_PLAYERSOLID & ~CONTENTS_BODY; + cg_pmove.tracemask = MASK_DEADSOLID; else cg_pmove.tracemask = MASK_PLAYERSOLID; if( cg.snap->ps.persistant[ PERS_TEAM ] == TEAM_SPECTATOR ) - cg_pmove.tracemask &= ~CONTENTS_BODY; // spectators can fly through bodies + cg_pmove.tracemask = MASK_DEADSOLID; // spectators can fly through bodies cg_pmove.noFootsteps = 0; -- cgit