call reset functions in init code (not necessary currently, as the compilers currentl...
[xonotic/darkplaces.git] / r_sky.c
diff --git a/r_sky.c b/r_sky.c
index 7681a8d..474d01f 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);
 }