aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRene Stoeckel <[email protected]>2004-08-22 20:39:03 +0000
committerRene Stoeckel <[email protected]>2004-08-22 20:39:03 +0000
commit8cd699757e1ec61dd0ec85a0bf56bbdd4365cd51 (patch)
tree17ad743f4314dd7538b803ddc61ea1775939ff18
parentb76459fa7321d18fedeab7cd891ce4e060b984d8 (diff)
bugfix in a touch call.
the bug was in the original code as well !!!
-rw-r--r--src/jake2/server/SV.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/server/SV.java b/src/jake2/server/SV.java
index b8e8e7e..fa98f32 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.7 2004-08-22 14:25:12 salomo Exp $
+ * $Id: SV.java,v 1.8 2004-08-22 20:39:03 salomo Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -107,7 +107,6 @@ public final class SV
public static void SV_Impact(edict_t e1, trace_t trace)
{
edict_t e2;
- // cplane_t backplane;
e2= trace.ent;
@@ -115,7 +114,7 @@ public final class SV
e1.touch.touch(e1, e2, trace.plane, trace.surface);
if (e2.touch != null && e2.solid != Defines.SOLID_NOT)
- e2.touch.touch(e2, e1, null, null);
+ e2.touch.touch(e2, e1, GameBase.dummyplane, null);
}
public static int SV_FlyMove(edict_t ent, float time, int mask)