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/game/Fire.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/game/Fire.java') diff --git a/src/jake2/game/Fire.java b/src/jake2/game/Fire.java index c5a426e..29254ca 100644 --- a/src/jake2/game/Fire.java +++ b/src/jake2/game/Fire.java @@ -19,7 +19,7 @@ */ // Created on 04.12.2003 by RST. -// $Id: Fire.java,v 1.4 2004-09-22 19:22:02 salomo Exp $ +// $Id: Fire.java,v 1.5 2005-02-20 21:50:36 salomo Exp $ package jake2.game; import jake2.Defines; @@ -145,7 +145,7 @@ public class Fire { water = true; Math3D.VectorCopy(tr.endpos, water_start); - if (0 == Math3D.VectorCompare(start, tr.endpos)) { + if (!Math3D.VectorEquals(start, tr.endpos)) { if ((tr.contents & Defines.CONTENTS_WATER) != 0) { if (Lib.strcmp(tr.surface.name, "*brwater") == 0) color = Defines.SPLASH_BROWN_WATER; -- cgit v1.2.3