]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_sky.c
q3bsp transparency support (note: makes maps that abuse alpha in shaders for special...
[xonotic/darkplaces.git] / 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);
 }