diff --git a/libs/console/server.c b/libs/console/server.c index 876457bc9..d8634def9 100644 --- a/libs/console/server.c +++ b/libs/console/server.c @@ -464,6 +464,7 @@ C_ProcessInput (void) static void C_KeyEvent (knum_t key, short unicode, qboolean down) { +#ifdef HAVE_CURSES int ovf = view_offset; switch (key) { @@ -488,6 +489,7 @@ C_KeyEvent (knum_t key, short unicode, qboolean down) Con_ProcessInputLine (input_line, key); break; } +#endif } static void