diff options
author | Rene Stoeckel <[email protected]> | 2005-02-20 21:50:52 +0000 |
---|---|---|
committer | Rene Stoeckel <[email protected]> | 2005-02-20 21:50:52 +0000 |
commit | 82f8c0e24b4630dee032c8f655bb2af7b4d71658 (patch) | |
tree | 0cc4688e1c9ac5f63d4ed1cbda2c2e4a84d83872 /src/jake2/server | |
parent | 7b154a2572d67f9bbc20dcbce79cb2b68f038809 (diff) |
VectorEquals instead of VectorCompare
Diffstat (limited to 'src/jake2/server')
-rw-r--r-- | src/jake2/server/SV.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/server/SV.java b/src/jake2/server/SV.java index a046ef4..1273025 100644 --- a/src/jake2/server/SV.java +++ b/src/jake2/server/SV.java @@ -2,7 +2,7 @@ * SV.java * Copyright (C) 2003 * - * $Id: SV.java,v 1.10 2004-09-22 19:22:12 salomo Exp $ + * $Id: SV.java,v 1.11 2005-02-20 21:50:37 salomo Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -200,7 +200,7 @@ public final class SV { for (j = 0; j < numplanes; j++) if ((j != i) - && Math3D.VectorCompare(planes[i], planes[j]) == 0.0f) { + && !Math3D.VectorEquals(planes[i], planes[j])) { if (Math3D.DotProduct(new_velocity, planes[j]) < 0) break; // not ok } |