diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index c28bc4111..ebc070933 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -3594,11 +3594,13 @@ cheat_for_port_credits: { ud.config.MouseFunctions[whichkey>>1][whichkey&1] = x; CONTROL_MapButton(x, whichkey>>1, whichkey&1, controldevice_mouse); + mousebind[whichkey>>1].name[0] = 0; } else { ud.config.MouseFunctions[whichkey-(MAXMOUSEBUTTONS-2)][0] = x; CONTROL_MapButton(x, whichkey-(MAXMOUSEBUTTONS-2), 0, controldevice_mouse); + mousebind[whichkey-(MAXMOUSEBUTTONS-2)].name[0] = 0; } cmenu(205); probey = whichkey;