summaryrefslogtreecommitdiffstats
path: root/src/jake2/render/jogl/Model.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/render/jogl/Model.java')
-rw-r--r--src/jake2/render/jogl/Model.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jake2/render/jogl/Model.java b/src/jake2/render/jogl/Model.java
index 7f2a29f..38e2b95 100644
--- a/src/jake2/render/jogl/Model.java
+++ b/src/jake2/render/jogl/Model.java
@@ -2,7 +2,7 @@
* Model.java
* Copyright (C) 2003
*
- * $Id: Model.java,v 1.6 2005-02-08 17:51:20 cawe Exp $
+ * $Id: Model.java,v 1.7 2005-05-07 23:45:19 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -1059,9 +1059,9 @@ public abstract class Model extends Surf {
{
poutframe[i] = new qfiles.daliasframe_t(buffer);
// verts are all 8 bit, so no swapping needed
- poutframe[i].verts = new qfiles.dtrivertx_t[pheader.num_xyz];
+ poutframe[i].verts = new int[pheader.num_xyz];
for (int k=0; k < pheader.num_xyz; k++) {
- poutframe[i].verts[k] = new qfiles.dtrivertx_t(buffer);
+ poutframe[i].verts[k] = buffer.getInt();
}
}