fix the missing chat input line

This commit is contained in:
Bill Currie 2003-05-06 02:30:38 +00:00
parent 56bfc6dc45
commit b2bbcb30c6

View file

@ -672,7 +672,6 @@ draw_console (view_t *view)
static void
draw_say (view_t *view)
{
if (key_dest == key_message) {
clearnotify = 0;
scr_copytop = 1;
@ -684,7 +683,6 @@ draw_say (view_t *view)
DrawInputLine (view->xabs + 40, view->yabs, 1, say_line);
}
}
}
static void
draw_notify (view_t *view)
@ -719,6 +717,8 @@ C_DrawConsole (int lines)
{
if (console_view->ylen != lines)
view_resize (console_view, console_view->xlen, lines);
say_view->visible = key_dest == key_message;
console_view->visible = lines != 0;
menu_view->visible = key_dest == key_menu;
@ -763,7 +763,7 @@ C_Init (void)
con_data.view->draw = view_draw;
console_view = view_new (0, 0, 320, 200, grav_northwest);
say_view = view_new (0, 0, 320, 32, grav_northwest);
say_view = view_new (0, 0, 320, 8, grav_northwest);
notify_view = view_new (0, 8, 320, 32, grav_northwest);
menu_view = view_new (0, 0, 320, 200, grav_center);