aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2005-02-20 21:50:52 +0000
committerRene Stoeckel <[email protected]>2005-02-20 21:50:52 +0000
commit82f8c0e24b4630dee032c8f655bb2af7b4d71658 (patch)
tree0cc4688e1c9ac5f63d4ed1cbda2c2e4a84d83872 /src/jake2/client
parent7b154a2572d67f9bbc20dcbce79cb2b68f038809 (diff)
VectorEquals instead of VectorCompare
Diffstat (limited to 'src/jake2/client')
-rw-r--r--src/jake2/client/CL_tent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/client/CL_tent.java b/src/jake2/client/CL_tent.java
index 60c1a70..afb3ccb 100644
--- a/src/jake2/client/CL_tent.java
+++ b/src/jake2/client/CL_tent.java
@@ -2,7 +2,7 @@
* java
* Copyright (C) 2004
*
- * $Id: CL_tent.java,v 1.9 2005-01-21 01:14:47 cawe Exp $
+ * $Id: CL_tent.java,v 1.10 2005-02-20 21:50:52 salomo Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -1565,7 +1565,7 @@ public class CL_tent {
// if it's a non-origin offset, it's a player, so use the
// hardcoded player offset
- if (Math3D.VectorCompare(b[i].offset, Globals.vec3_origin) == 0) {
+ if (!Math3D.VectorEquals(b[i].offset, Globals.vec3_origin)) {
Math3D.VectorMA(org, -(b[i].offset[0]) + 1, r, org);
Math3D.VectorMA(org, -(b[i].offset[1]), f, org);
Math3D.VectorMA(org, -(b[i].offset[2]) - 10, u, org);