mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Fix the escape problem for Join Game.
Allowing the menus to override the Escape key was necessary, but there was badly written code floating around that broke when that was implemented. Oops.
This commit is contained in:
parent
01463b0e77
commit
838e35af96
1 changed files with 4 additions and 4 deletions
|
@ -432,7 +432,7 @@ int (int key, int unicode, int down) lanconfig_keyevent =
|
|||
lanConfig_cursor ++;
|
||||
lanConfig_cursor %= NUM_LANCONFIG_CMDS;
|
||||
}
|
||||
break;
|
||||
return 1;
|
||||
case QFK_UP:
|
||||
case QFM_WHEEL_UP:
|
||||
if (!input_active) {
|
||||
|
@ -440,7 +440,7 @@ int (int key, int unicode, int down) lanconfig_keyevent =
|
|||
lanConfig_cursor += NUM_LANCONFIG_CMDS - 1;
|
||||
lanConfig_cursor %= NUM_LANCONFIG_CMDS;
|
||||
}
|
||||
break;
|
||||
return 1;
|
||||
case QFK_RETURN:
|
||||
if (input_active) {
|
||||
input_active = nil;
|
||||
|
@ -453,9 +453,9 @@ int (int key, int unicode, int down) lanconfig_keyevent =
|
|||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
return 0;
|
||||
};
|
||||
|
||||
void () lanconfig_menu =
|
||||
|
|
Loading…
Reference in a new issue