summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_client.c1
-rw-r--r--src/server/sv_world.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/server/sv_client.c b/src/server/sv_client.c
index 25bf69f9..094ed98f 100644
--- a/src/server/sv_client.c
+++ b/src/server/sv_client.c
@@ -962,7 +962,6 @@ static void SV_VerifyPaks_f( client_t *cl ) {
//
if ( sv_pure->integer != 0 ) {
- bGood = qtrue;
nChkSum1 = nChkSum2 = 0;
// we run the game, so determine which cgame and ui the client "should" be running
bGood = (FS_FileIsInPAK("vm/cgame.qvm", &nChkSum1) == 1);
diff --git a/src/server/sv_world.c b/src/server/sv_world.c
index 667c9268..ce4230d7 100644
--- a/src/server/sv_world.c
+++ b/src/server/sv_world.c
@@ -383,9 +383,6 @@ SV_AreaEntities_r
static void SV_AreaEntities_r( worldSector_t *node, areaParms_t *ap ) {
svEntity_t *check, *next;
sharedEntity_t *gcheck;
- int count;
-
- count = 0;
for ( check = node->entities ; check ; check = next ) {
next = check->nextEntityInWorldSector;
@@ -681,7 +678,7 @@ int SV_PointContents( const vec3_t p, int passEntityNum ) {
angles = vec3_origin; // boxes don't rotate
}
- c2 = CM_TransformedPointContents (p, clipHandle, hit->s.origin, hit->s.angles);
+ c2 = CM_TransformedPointContents (p, clipHandle, hit->s.origin, angles);
contents |= c2;
}