From: havoc Date: Sun, 22 Feb 2004 06:48:42 +0000 (+0000) Subject: fixed a possible crash in R_DrawCoronas (it was using rd->origin where it should... X-Git-Tag: xonotic-v0.1.0preview~6075 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=045b4c0a4b471714922deb7ecaed3d83d90602d0;p=xonotic%2Fdarkplaces.git fixed a possible crash in R_DrawCoronas (it was using rd->origin where it should have used wl->origin) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3920 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_light.c b/r_light.c index 3734eea9..af11fd06 100644 --- 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 b171af1e..bd6e06e5 100644 --- a/todo +++ b/todo @@ -34,6 +34,10 @@ -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)