diff --git a/rc.c b/rc.c index 6faf5d3..76ada49 100644 --- a/rc.c +++ b/rc.c @@ -7603,9 +7603,9 @@ int joybuttontokey(int buttonnum) { int joybuttondown(int key) { int i; for (i = 0; i < joybuttons; i++) { - if ((joymap[i] == key) && (joybut[i])) return i; + if ((joymap[i] == key) && (joybut[i])) return B_TRUE; } - return 0; + return B_FALSE; } /*