Properly make padrumble and padrumble2 CV_OnOff toggles

This commit is contained in:
Jaime Ita Passos 2022-11-15 23:37:57 -03:00
parent 3e088e4e78
commit 14065fb23f

View file

@ -289,8 +289,8 @@ static void PadRumble2_OnChange(void)
}
consvar_t cv_gamepad_rumble[2] = {
CVAR_INIT ("padrumble", "Off", CV_SAVE|CV_CALL, NULL, PadRumble_OnChange),
CVAR_INIT ("padrumble2", "Off", CV_SAVE|CV_CALL, NULL, PadRumble2_OnChange)
CVAR_INIT ("padrumble", "Off", CV_SAVE|CV_CALL, CV_OnOff, PadRumble_OnChange),
CVAR_INIT ("padrumble2", "Off", CV_SAVE|CV_CALL, CV_OnOff, PadRumble2_OnChange)
};
consvar_t cv_gamepad_autopause = CVAR_INIT ("pauseongamepaddisconnect", "On", CV_SAVE, CV_OnOff, NULL);