diff --git a/engine/client/console.c b/engine/client/console.c index 8bbdf5e88..63c31e1af 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -570,7 +570,7 @@ void Con_PrintCon (console_t *con, char *txt) break; case '\n': cr = false; - while (con->linecount >= con_maxlines.value) + while (con->linecount >= con_maxlines.ival) { if (con->oldest == con->current) break;