git-svn-id: https://svn.eduke32.com/eduke32@827 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-07-01 02:36:53 +00:00
parent 95eed1cd2b
commit bd94f048ea

View file

@ -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;