]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed a possible crash in R_DrawCoronas (it was using rd->origin where it should...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Feb 2004 06:48:42 +0000 (06:48 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Feb 2004 06:48:42 +0000 (06:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3920 d7cf8633-e32d-0410-b094-e92efae38249

r_light.c
todo

index 3734eea9eaa67206e2c8c2627f2569c173487e7b..af11fd06dfc926f73ab6044eaf392c08780988a1 100644 (file)
--- a/r_light.c
+++ b/r_light.c
@@ -165,7 +165,7 @@ void R_DrawCoronas(void)
                        {
                                cscale = wl->corona * r_coronas.value * 0.25f;
                                scale = wl->radius * 0.25f;
-                               R_DrawSprite(GL_ONE, GL_ONE, lightcorona, true, rd->origin, r_viewright, r_viewup, scale, -scale, -scale, scale, wl->color[0] * cscale, wl->color[1] * cscale, wl->color[2] * cscale, 1);
+                               R_DrawSprite(GL_ONE, GL_ONE, lightcorona, true, wl->origin, r_viewright, r_viewup, scale, -scale, -scale, scale, wl->color[0] * cscale, wl->color[1] * cscale, wl->color[2] * cscale, 1);
                        }
                }
        }
diff --git a/todo b/todo
index b171af1e4bd4e3e96796c7422e66fdbc5935336f..bd6e06e5c0a4f15c7a6c6927b2bf34b6883c80ef 100644 (file)
--- a/todo
+++ b/todo
 -n darkplaces: segfault reading memory in windows when starting a new server from menu (yummyluv)
 -n darkplaces: server is starting before the "port" cvar is set by commandline and scripts? (yummyluv)
 -n darkplaces: typing ip in join game menu should show 'trying' and 'no response' after a while, or 'no network' if networking is not initialized (yummyluv)
+0 darkplaces: fix q3bsp fogging (Sajt)
+0 darkplaces: add fov to menu
+d darkplaces: fov limit now 1-170, was 10-170
+0 darkplaces: split rtlight drawshadows option into drawworldshadows and drawentityshadows options, this allows combinations like no world shadows (for speed) but still having entity shadows (Electro, Mitchell, romi)
 d darkplaces: added silly scr_zoomwindow as an experiment, turned out mostly useless
 0 dpmod: revert back to id1 weapons
 -n dpmod: make grapple off-hand (joe hill)