Fix for immediate R_MarkLights crash. (oops)

This commit is contained in:
Forest Hale 2000-06-30 04:35:05 +00:00
parent 789984f19b
commit 6f8c87fa02

View file

@ -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