diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-09-15 02:58:38 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-09-15 02:58:38 +0000 |
commit | 157d8e32e0b38d0e901738dc652ca11337e85ea9 (patch) | |
tree | 9baeaa6630817bd0695d856dff93f5cec226edc9 /code | |
parent | eaad28cd9373face0a7f8160d3620a273f249bac (diff) | |
download | ioquake3-aero-157d8e32e0b38d0e901738dc652ca11337e85ea9.tar.gz ioquake3-aero-157d8e32e0b38d0e901738dc652ca11337e85ea9.zip |
Removed unused variables.
CM_LeadArea() has no side effects, so those could go, too.
Partially fixes Bugzilla #3782.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1611 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/server/sv_game.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/code/server/sv_game.c b/code/server/sv_game.c index 7bfbf03..fe78650 100644 --- a/code/server/sv_game.c +++ b/code/server/sv_game.c @@ -185,17 +185,14 @@ qboolean SV_inPVSIgnorePortals( const vec3_t p1, const vec3_t p2) { int leafnum; int cluster; - int area1, area2; byte *mask; leafnum = CM_PointLeafnum (p1); cluster = CM_LeafCluster (leafnum); - area1 = CM_LeafArea (leafnum); mask = CM_ClusterPVS (cluster); leafnum = CM_PointLeafnum (p2); cluster = CM_LeafCluster (leafnum); - area2 = CM_LeafArea (leafnum); if ( mask && (!(mask[cluster>>3] & (1<<(cluster&7)) ) ) ) return qfalse; |