summaryrefslogtreecommitdiffstats
path: root/src/jake2/util
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2004-09-04 19:08:30 +0000
committerRene Stoeckel <[email protected]>2004-09-04 19:08:30 +0000
commit7e2f174f0dd1e9efe3b85b6c889b6a0b06dccfbb (patch)
tree86b342a6d6afdce2886068a151e2fafe510d2ffb /src/jake2/util
parentccdf732d72dde1cb576a6e8d1ded1cdb0dd976c2 (diff)
some debug messages removed.m_0_9_3
Diffstat (limited to 'src/jake2/util')
-rw-r--r--src/jake2/util/QuakeFile.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jake2/util/QuakeFile.java b/src/jake2/util/QuakeFile.java
index 9b71bb2..969248c 100644
--- a/src/jake2/util/QuakeFile.java
+++ b/src/jake2/util/QuakeFile.java
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
// Created on 24.07.2004 by RST.
-// $Id: QuakeFile.java,v 1.1 2004-08-20 21:29:57 salomo Exp $
+// $Id: QuakeFile.java,v 1.2 2004-09-04 19:08:30 salomo Exp $
package jake2.util;
@@ -27,6 +27,7 @@ import jake2.game.Game;
import jake2.game.SuperAdapter;
import jake2.game.edict_t;
import jake2.game.gitem_t;
+import jake2.qcommon.Com;
import java.io.*;
@@ -115,7 +116,7 @@ public class QuakeFile extends RandomAccessFile
if (i > Game.g_edicts.length)
{
- System.err.println("jake2: illegal edict num:" + i);
+ Com.DPrintf("jake2: illegal edict num:" + i + "\n");
return null;
}
@@ -134,9 +135,8 @@ public class QuakeFile extends RandomAccessFile
String str= a.getID();
if (a == null)
{
- System.err.println("writeAdapter: invalid Adapter id for" + a);
+ Com.DPrintf("writeAdapter: invalid Adapter id for " + a + "\n");
}
- System.out.println("writing adapter:" + str);
writeString(str);
}
}
@@ -145,7 +145,7 @@ public class QuakeFile extends RandomAccessFile
public SuperAdapter readAdapter() throws IOException
{
if (readInt() != 3988)
- System.err.println("wrong read position: readadapter.");
+ Com.DPrintf("wrong read position: readadapter 3988 \n");
String id= readString();