mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 00:20:59 +00:00
reduce the amount of compiler warnings for variable shadowing
This commit is contained in:
parent
1d0a044de3
commit
bbd17d75ce
8 changed files with 2 additions and 9 deletions
|
@ -157,7 +157,6 @@ static int R_DlightSurface( msurface_t *surf, int dlightBits ) {
|
|||
|
||||
if ( surf->cullinfo.type & CULLINFO_PLANE )
|
||||
{
|
||||
int i;
|
||||
for ( i = 0 ; i < tr.refdef.num_dlights ; i++ ) {
|
||||
if ( ! ( dlightBits & ( 1 << i ) ) ) {
|
||||
continue;
|
||||
|
@ -238,7 +237,6 @@ static int R_PshadowSurface( msurface_t *surf, int pshadowBits ) {
|
|||
|
||||
if ( surf->cullinfo.type & CULLINFO_PLANE )
|
||||
{
|
||||
int i;
|
||||
for ( i = 0 ; i < tr.refdef.num_pshadows ; i++ ) {
|
||||
if ( ! ( pshadowBits & ( 1 << i ) ) ) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue