Code: Select all
Index: src/client/cl_console.c
===================================================================
--- src/client/cl_console.c (revision 2260)
+++ src/client/cl_console.c (working copy)
@@ -30,7 +30,7 @@
#define NUM_CON_TIMES 4
-#define CON_TEXTSIZE 163840
+#define CON_TEXTSIZE 655360
typedef struct {
qboolean initialized;
@@ -370,7 +370,7 @@
con.x = 0;
break;
default: // display character and advance
- y = con.current % con.totallines;
+ y = con.totallines ? con.current % con.totallines : 0;
con.text[y*con.linewidth+con.x] = (color << 8) | c;
con.x++;
if(con.x >= con.linewidth)