Skip to content

Commit

Permalink
Reset r_skyfog between maps
Browse files Browse the repository at this point in the history
Otherwise playing the start map in alkaline, switching to ad, and then
loading the ad start map would have different results than just loading
the ad start map directly.
  • Loading branch information
andrei-drexler authored and sezero committed Aug 15, 2024
1 parent 1697ac7 commit 7cd310f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quake/gl_sky.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ void Sky_ClearAll (void)
skybox_textures[i] = NULL;
solidskytexture = NULL;
alphaskytexture = NULL;
Cvar_SetQuick (&r_skyfog, r_skyfog.default_string);
}

/*
Expand Down

0 comments on commit 7cd310f

Please sign in to comment.