mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-29 16:11:31 +00:00
Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings
This commit is contained in:
parent
1ea7ab1f42
commit
23f6fd1633
85 changed files with 246 additions and 496 deletions
|
@ -382,9 +382,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;
|
||||
|
@ -680,7 +677,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue