aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-04-25 22:50:25 +0000
committerCarsten Weisse <[email protected]>2005-04-25 22:50:25 +0000
commit528c7217afb7037820c6a1b331dcca1fc504f719 (patch)
tree66c6a477252697da35ea1146382f7df9524686bc /src/jake2
parent1ce3e387806af090ee8752f36fcb16c58ca5c6bc (diff)
bugfix: this have to be a copy of the listener origin
(I hope this solves the lwjgl openal problem)
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/sound/lwjgl/Channel.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/sound/lwjgl/Channel.java b/src/jake2/sound/lwjgl/Channel.java
index c136331..722668f 100644
--- a/src/jake2/sound/lwjgl/Channel.java
+++ b/src/jake2/sound/lwjgl/Channel.java
@@ -3,7 +3,7 @@
*
* Copyright (C) 2003
*
- * $Id: Channel.java,v 1.2 2004-12-23 00:52:12 cawe Exp $
+ * $Id: Channel.java,v 1.3 2005-04-25 22:50:25 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -221,7 +221,9 @@ public class Channel {
sourceId = ch.sourceId;
switch (ch.type) {
case Channel.LISTENER:
- sourceOrigin = listenerOrigin;
+ sourceOrigin.put(0, listenerOrigin.get(0));
+ sourceOrigin.put(1, listenerOrigin.get(1));
+ sourceOrigin.put(2, listenerOrigin.get(2));
break;
case Channel.DYNAMIC:
CL_ents.GetEntitySoundOrigin(ch.entnum, entityOrigin);