[quake3-commits] r1611 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 14 22:58:38 EDT 2009
Author: icculus
Date: 2009-09-14 22:58:38 -0400 (Mon, 14 Sep 2009)
New Revision: 1611
Modified:
trunk/code/server/sv_game.c
Log:
Removed unused variables.
CM_LeadArea() has no side effects, so those could go, too.
Partially fixes Bugzilla #3782.
Modified: trunk/code/server/sv_game.c
===================================================================
--- trunk/code/server/sv_game.c 2009-09-15 02:51:09 UTC (rev 1610)
+++ trunk/code/server/sv_game.c 2009-09-15 02:58:38 UTC (rev 1611)
@@ -185,17 +185,14 @@
{
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;
More information about the quake3-commits
mailing list