From e21875c280c9e5b6ca5ddfb631bd5faf27b121d4 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 6 Mar 2011 01:04:30 +0000 Subject: added CO line 421 as per Alden's suggestion Fresh new attempt at passing objects in Tick. --- src/common/CollidableObject.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common') diff --git a/src/common/CollidableObject.java b/src/common/CollidableObject.java index 5ec49f3..4c5f013 100644 --- a/src/common/CollidableObject.java +++ b/src/common/CollidableObject.java @@ -448,6 +448,7 @@ public abstract class CollidableObject implements Serializable { trueGeometry.getNormal(i, normals[i]); } out.writeObject(normals); + indices = new int[trueGeometry.getValidIndexCount()]; trueGeometry.getNormalIndices(0, indices); out.writeObject(indices); } -- cgit v1.2.3