From cebda9790bfa7d109014d5871d79e9ecd88c7d50 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 2 Oct 2008 12:29:19 +0000 Subject: some cleanups. splitted e_network.c into several files. continued on the ban support --- src/game/client/components/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/console.cpp') 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; -- cgit 1.4.1