aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-01-17 23:05:57 +0000
committerCarsten Weisse <[email protected]>2005-01-17 23:05:57 +0000
commit375746bb3307d9313d309d510731d3507159ff73 (patch)
tree6120b0ef764219fe707629693c2ec2e6606fc091 /src/jake2/qcommon
parent5eaa2dd8bd5697ecf71d7eed12aa5921b33fcaeb (diff)
readcount should be 0
Diffstat (limited to 'src/jake2/qcommon')
-rw-r--r--src/jake2/qcommon/SZ.java7
1 files 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;