From 89cc69710ca11942e7f0dd8357f8a39fadcd0174 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. --- src/gameconfigfile.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp index dedbcb4645..3fdec5f0b9 100644 --- a/src/gameconfigfile.cpp +++ b/src/gameconfigfile.cpp @@ -70,6 +70,7 @@ EXTERN_CVAR (Float, vid_scale_custompixelaspect) EXTERN_CVAR (Bool, vid_scale_linear) EXTERN_CVAR(Float, m_sensitivity_x) EXTERN_CVAR(Float, m_sensitivity_y) +EXTERN_CVAR(Int, adl_volume_model) #ifdef _WIN32 EXTERN_CVAR(Int, in_mouse) @@ -590,6 +591,7 @@ void FGameConfigFile::DoGlobalSetup () m_sensitivity_x = (float)xfact; m_sensitivity_y = (float)yfact; + adl_volume_model = 0; } } }