diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-02 12:29:19 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-02 12:29:19 +0000 |
| commit | cebda9790bfa7d109014d5871d79e9ecd88c7d50 (patch) | |
| tree | d315b73baf879c0414cf652b89690796cc2f1f3b /src/game/client | |
| parent | bddc6ec6cc369e87d9dd0c0d1749bb871e1537a8 (diff) | |
| download | zcatch-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')
| -rw-r--r-- | src/game/client/components/console.cpp | 4 |
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; |