diff options
Diffstat (limited to 'src/jake2/game/GameTarget.java')
-rw-r--r-- | src/jake2/game/GameTarget.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/GameTarget.java b/src/jake2/game/GameTarget.java index 94b46bb..3357f2b 100644 --- a/src/jake2/game/GameTarget.java +++ b/src/jake2/game/GameTarget.java @@ -19,7 +19,7 @@ */ // Created on 28.12.2003 by RST. -// $Id: GameTarget.java,v 1.4 2005-02-19 21:18:44 salomo Exp $ +// $Id: GameTarget.java,v 1.5 2005-02-20 21:50:36 salomo Exp $ package jake2.game; import jake2.Defines; @@ -608,7 +608,7 @@ public class GameTarget { point); Math3D.VectorSubtract(point, self.s.origin, self.movedir); Math3D.VectorNormalize(self.movedir); - if (0 == Math3D.VectorCompare(self.movedir, last_movedir)) + if (!Math3D.VectorEquals(self.movedir, last_movedir)) self.spawnflags |= 0x80000000; } |