mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
Fix for immediate R_MarkLights crash. (oops)
This commit is contained in:
parent
789984f19b
commit
6f8c87fa02
1 changed files with 2 additions and 0 deletions
|
@ -1044,6 +1044,8 @@ void R_DrawWorld (void)
|
||||||
|
|
||||||
currententity = &ent;
|
currententity = &ent;
|
||||||
|
|
||||||
|
R_PushDlights (); // LordHavoc: moved from V_RenderView to R_DrawWorld
|
||||||
|
|
||||||
glColor3f (1.0, 1.0, 1.0);
|
glColor3f (1.0, 1.0, 1.0);
|
||||||
memset (lightmap_polys, 0, sizeof(lightmap_polys));
|
memset (lightmap_polys, 0, sizeof(lightmap_polys));
|
||||||
// Be sure to clear the skybox --KB
|
// Be sure to clear the skybox --KB
|
||||||
|
|
Loading…
Reference in a new issue