From feceb97df0ea66e4d7317baaa0d889554fdafcef Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 19 Apr 2020 22:08:37 -0700 Subject: [PATCH] C90 moment --- src/s_sound.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/s_sound.c b/src/s_sound.c index 1575788e3..5391bf2ab 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -126,14 +126,9 @@ static CV_PossibleValue_t music_resync_threshold_cons_t[] = { {0} }; -consvar_t cv_music_resync_threshold = { - "music_resync_threshold", "100", CV_SAVE|CV_CALL, - music_resync_threshold_cons_t, I_UpdateSongLagThreshold -}; -consvar_t cv_music_resync_powerups_only = { - "music_resync_powerups_only", "No", CV_SAVE|CV_CALL, - CV_YesNo, I_UpdateSongLagConditions -}; +consvar_t cv_music_resync_threshold = {"music_resync_threshold", "100", CV_SAVE|CV_CALL, music_resync_threshold_cons_t, I_UpdateSongLagThreshold, 0, NULL, NULL, 0, 0, NULL}; + +consvar_t cv_music_resync_powerups_only = {"music_resync_powerups_only", "No", CV_SAVE|CV_CALL, CV_YesNo, I_UpdateSongLagConditions, 0, NULL, NULL, 0, 0, NULL}; #define S_MAX_VOLUME 127