From 375746bb3307d9313d309d510731d3507159ff73 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Mon, 17 Jan 2005 23:05:57 +0000 Subject: readcount should be 0 --- src/jake2/qcommon/SZ.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jake2/qcommon/SZ.java b/src/jake2/qcommon/SZ.java index 97efa75..8d87c93 100644 --- a/src/jake2/qcommon/SZ.java +++ b/src/jake2/qcommon/SZ.java @@ -2,7 +2,7 @@ * SZ.java * Copyright (C) 2003 * - * $Id: SZ.java,v 1.3 2004-09-10 19:02:53 salomo Exp $ + * $Id: SZ.java,v 1.4 2005-01-17 23:05:57 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -39,7 +39,10 @@ public final class SZ { //=========================================================================== public static void Init(sizebuf_t buf, byte data[], int length) { - buf.data = data; + // TODO check this. cwei + buf.readcount = 0; + + buf.data = data; buf.maxsize = length; buf.cursize = 0; buf.allowoverflow = buf.overflowed = false; -- cgit v1.2.3