]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
call reset functions in init code (not necessary currently, as the compilers currentl...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 5 Nov 2003 08:18:54 +0000 (08:18 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 5 Nov 2003 08:18:54 +0000 (08:18 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3628 d7cf8633-e32d-0410-b094-e92efae38249

r_sky.c

diff --git a/r_sky.c b/r_sky.c
index 7681a8dc26a42c7455584c0e202b86406d976c21..474d01f3f299f1250a817509e4d343dbd74fc52a 100644 (file)
--- a/r_sky.c
+++ b/r_sky.c
@@ -514,6 +514,8 @@ void R_Sky_Init(void)
 {
        Cmd_AddCommand ("loadsky", &LoadSky_f);
        Cvar_RegisterVariable (&r_sky);
+       R_ResetSkyBox();
+       R_ResetQuakeSky();
        R_RegisterModule("R_Sky", r_sky_start, r_sky_shutdown, r_sky_newmap);
 }