mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
correct the vertical position of the lanconfig menu
This commit is contained in:
parent
27306a9a2b
commit
054d2b61e8
1 changed files with 7 additions and 7 deletions
|
@ -342,20 +342,20 @@ integer (integer x, integer y) lanconfig_draw =
|
||||||
lanConfig_portname);
|
lanConfig_portname);
|
||||||
|
|
||||||
if (JoiningGame) {
|
if (JoiningGame) {
|
||||||
Draw_String (basex, lanConfig_cursor_table[1], "Search for local "
|
Draw_String (basex, y + lanConfig_cursor_table[1], "Search for local "
|
||||||
"games...");
|
"games...");
|
||||||
Draw_String (basex, 108, "Join game at:");
|
Draw_String (basex, y + 108, "Join game at:");
|
||||||
text_box (basex + 8, lanConfig_cursor_table[2] - 8, 22, 1);
|
text_box (basex + 8, y + lanConfig_cursor_table[2] - 8, 22, 1);
|
||||||
[lanConfig_join_il setBasePos:x y:y];
|
[lanConfig_join_il setBasePos:x y:y];
|
||||||
[lanConfig_join_il draw:lanConfig_cursor == 2 && input_active];
|
[lanConfig_join_il draw:lanConfig_cursor == 2 && input_active];
|
||||||
Draw_String (basex + 16, lanConfig_cursor_table[2],
|
Draw_String (basex + 16, y + lanConfig_cursor_table[2],
|
||||||
lanConfig_joinname);
|
lanConfig_joinname);
|
||||||
} else {
|
} else {
|
||||||
text_box (basex, lanConfig_cursor_table[1] - 8, 2, 1);
|
text_box (basex, y + lanConfig_cursor_table[1] - 8, 2, 1);
|
||||||
Draw_String (basex + 8, lanConfig_cursor_table[1], "OK");
|
Draw_String (basex + 8, y + lanConfig_cursor_table[1], "OK");
|
||||||
}
|
}
|
||||||
if (!input_active)
|
if (!input_active)
|
||||||
Draw_Character (basex - 8, lanConfig_cursor_table[lanConfig_cursor],
|
Draw_Character (basex - 8, y + lanConfig_cursor_table[lanConfig_cursor],
|
||||||
12 + (integer) (time * 4) & 1);
|
12 + (integer) (time * 4) & 1);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue