fix software model lighting

This commit is contained in:
Bill Currie 2002-09-18 14:38:41 +00:00
parent 599fea0edb
commit 5189ffeae9
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ loop:
if (!surf->samples)
return 0;
if (r_lightmap_components->int_val == 1)
if (mod_lightmap_bytes == 1)
return calc_lighting_1 (surf, ds, dt);
else
return calc_lighting_3 (surf, ds, dt);