From 82f8c0e24b4630dee032c8f655bb2af7b4d71658 Mon Sep 17 00:00:00 2001 From: Rene Stoeckel Date: Sun, 20 Feb 2005 21:50:52 +0000 Subject: VectorEquals instead of VectorCompare --- src/jake2/server/SV.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/server/SV.java') 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 } -- cgit v1.2.3