summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cgame/cg_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index ef69ea8..15a367d 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -522,7 +522,7 @@ void CG_RemoveNotifyLine( void )
cg.consoleText[ i ] = cg.consoleText[ i + offset ];
//pop up the first consoleLine
- for( i = 0; i < cg.numConsoleLines; i++ )
+ for( i = 0; i < cg.numConsoleLines - 1; i++ )
cg.consoleLines[ i ] = cg.consoleLines[ i + 1 ];
cg.numConsoleLines--;