about summary refs log tree commit diff
path: root/src/game/client/components/console.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-02 12:29:19 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-02 12:29:19 +0000
commitcebda9790bfa7d109014d5871d79e9ecd88c7d50 (patch)
treed315b73baf879c0414cf652b89690796cc2f1f3b /src/game/client/components/console.cpp
parentbddc6ec6cc369e87d9dd0c0d1749bb871e1537a8 (diff)
downloadzcatch-cebda9790bfa7d109014d5871d79e9ecd88c7d50.tar.gz
zcatch-cebda9790bfa7d109014d5871d79e9ecd88c7d50.zip
some cleanups. splitted e_network.c into several files. continued on the ban support
Diffstat (limited to 'src/game/client/components/console.cpp')
-rw-r--r--src/game/client/components/console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp
index a5098ce1..c8fe018e 100644
--- a/src/game/client/components/console.cpp
+++ b/src/game/client/components/console.cpp
@@ -34,8 +34,8 @@ enum
 CONSOLE::INSTANCE::INSTANCE(int t)
 {
 	// init ringbuffers
-	history = ringbuf_init(history_data, sizeof(history_data));
-	backlog = ringbuf_init(backlog_data, sizeof(backlog_data));
+	history = ringbuf_init(history_data, sizeof(history_data), RINGBUF_FLAG_RECYCLE);
+	backlog = ringbuf_init(backlog_data, sizeof(backlog_data), RINGBUF_FLAG_RECYCLE);
 	
 	history_entry = 0x0;