Fix two unused var warnings introduced by #788.

This commit is contained in:
Yamagi 2022-02-12 17:01:12 +01:00
parent b68910905b
commit b92165a0e1
2 changed files with 0 additions and 3 deletions

View file

@ -219,7 +219,6 @@ R_RecursiveLightPoint(mnode_t *node, vec3_t start, vec3_t end)
byte *lightmap; byte *lightmap;
int maps; int maps;
int r; int r;
vec3_t scale;
if (node->contents != -1) if (node->contents != -1)
{ {

View file

@ -189,8 +189,6 @@ RecursiveLightPoint(mnode_t *node, vec3_t start, vec3_t end)
for (i = 0; i < node->numsurfaces; i++, surf++) for (i = 0; i < node->numsurfaces; i++, surf++)
{ {
vec3_t scale;
if (surf->flags & (SURF_DRAWTURB | SURF_DRAWSKY)) if (surf->flags & (SURF_DRAWTURB | SURF_DRAWSKY))
{ {
continue; /* no lightmaps */ continue; /* no lightmaps */