aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/game/Fire.java
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/game/Fire.java
parent7b154a2572d67f9bbc20dcbce79cb2b68f038809 (diff)
VectorEquals instead of VectorCompare
Diffstat (limited to 'src/jake2/game/Fire.java')
-rw-r--r--src/jake2/game/Fire.java4
1 files changed, 2 insertions, 2 deletions
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;