From 6f8c87fa02a3eb5f646f8e9feb27523633a3de95 Mon Sep 17 00:00:00 2001 From: Forest Hale Date: Fri, 30 Jun 2000 04:35:05 +0000 Subject: [PATCH] Fix for immediate R_MarkLights crash. (oops) --- source/gl_rsurf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/gl_rsurf.c b/source/gl_rsurf.c index b7086e2..b862a67 100644 --- a/source/gl_rsurf.c +++ b/source/gl_rsurf.c @@ -1044,6 +1044,8 @@ void R_DrawWorld (void) currententity = &ent; + R_PushDlights (); // LordHavoc: moved from V_RenderView to R_DrawWorld + glColor3f (1.0, 1.0, 1.0); memset (lightmap_polys, 0, sizeof(lightmap_polys)); // Be sure to clear the skybox --KB