Mercurial > hg > Game > Cerium
changeset 856:aa37b133e1c3 draft
fix
author | Yutaka_Kinjyo |
---|---|
date | Thu, 10 Jun 2010 17:22:15 +0900 |
parents | 641451e6a95b |
children | 2fa8943d989a |
files | Renderer/Engine/spe/DrawSpan.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/spe/DrawSpan.cc Thu Jun 10 17:18:55 2010 +0900 +++ b/Renderer/Engine/spe/DrawSpan.cc Thu Jun 10 17:22:15 2010 +0900 @@ -228,7 +228,7 @@ int *light_sysswitch = (int*)smanager->global_get(LightSysSwitch); //smanager->printf("sys %d\n",light_sysswitch); - if ( *light_sysswitch == 1) { + if ( *light_sysswitch == 1 && flag) { color = infinity_light_calc(color,normal_x,normal_y,normal_z, smanager,localx,localy,zpos, world_x,world_y,world_z);