From 860f2b0714d5aa65b390552b5ca75986b9a6d900 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 22 Jul 2003 18:08:08 +0000 Subject: [PATCH] gl_flashblend 1 now disables model dlighting like it was supposed to (thanks to Tomaz for reporting this) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3307 d7cf8633-e32d-0410-b094-e92efae38249 --- r_light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_light.c b/r_light.c index 65150fda..269d3d1f 100644 --- a/r_light.c +++ b/r_light.c @@ -866,7 +866,7 @@ void R_UpdateEntLights(entity_render_t *ent) int i; const mlight_t *sl; vec3_t v; - if (r_shadow_realtime_dlight.integer) + if (r_shadow_realtime_dlight.integer || gl_flashblend.integer) return; VectorSubtract(ent->origin, ent->entlightsorigin, v); if (ent->entlightsframe != (r_framecount - 1) || (realtime > ent->entlightstime && DotProduct(v,v) >= 1.0f)) -- 2.39.2