From bb1af344eec36f3b5b6d8ddc8dfd7ff068747fd1 Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sun, 2 Sep 2018 08:15:55 -0400 Subject: [PATCH] Linux Compiler fix HAVE_MIXERX cvars --- src/d_netcmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 0f2955e6b..f487302ac 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -688,9 +688,11 @@ void D_RegisterClientCommands(void) COM_AddCommand("tunes", Command_Tunes_f); COM_AddCommand("restartaudio", Command_RestartAudio_f); CV_RegisterVar(&cv_resetmusic); +#ifdef HAVE_MIXERX CV_RegisterVar(&cv_midiplayer); CV_RegisterVar(&cv_midisoundfontpath); CV_RegisterVar(&cv_miditimiditypath); +#endif // FIXME: not to be here.. but needs be done for config loading CV_RegisterVar(&cv_globalgamma);