GTK : Fixed autofire
This commit is contained in:
parent
13977737d1
commit
3ac8ad230f
|
@ -890,9 +890,9 @@ void Window::vOnJoypadToggled(Gtk::CheckMenuItem * _poCMI, EPad _eJoypad)
|
|||
|
||||
void Window::vOnAutofireToggled(Gtk::CheckMenuItem * _poCMI, EKey _eKey)
|
||||
{
|
||||
if (_poCMI->get_active() != inputGetAutoFire(_eKey))
|
||||
if (_poCMI->get_active() == inputGetAutoFire(_eKey))
|
||||
{
|
||||
//inputToggleAutoFire(_eKey);
|
||||
inputToggleAutoFire(_eKey);
|
||||
}
|
||||
|
||||
std::string sKey;
|
||||
|
|
Loading…
Reference in New Issue