From ceaea1548d0e1aa8a279f2351d2209b580b67205 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 4 Oct 2020 08:20:42 +0200 Subject: [PATCH] - added config migration handling for the changes to adl_volume_model. # Conflicts: # src/gameconfigfile.cpp --- src/gameconfigfile.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp index 5bf023f39..a7852d6f7 100644 --- a/src/gameconfigfile.cpp +++ b/src/gameconfigfile.cpp @@ -69,6 +69,7 @@ EXTERN_CVAR (Color, am_cdwallcolor) EXTERN_CVAR (Bool, wi_percents) EXTERN_CVAR (Int, gl_texture_hqresizemode) EXTERN_CVAR (Int, gl_texture_hqresizemult) +EXTERN_CVAR(Int, adl_volume_model) FGameConfigFile::FGameConfigFile () { @@ -533,6 +534,10 @@ void FGameConfigFile::DoGlobalSetup () } } } + if (last < 220) + { + adl_volume_model = 0; + } } } }