Update of /cvsroot/jake2/jake2/src/jake2/sound/lwjgl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14489/src/jake2/sound/lwjgl
Modified Files:
Channel.java
Log Message:
bugfix: this have to be a copy of the listener origin
(I hope this solves the lwjgl openal problem)
Index: Channel.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/sound/lwjgl/Channel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Channel.java 23 Dec 2004 00:52:12 -0000 1.2
--- Channel.java 25 Apr 2005 22:50:25 -0000 1.3
***************
*** 222,226 ****
switch (ch.type) {
case Channel.LISTENER:
! sourceOrigin = listenerOrigin;
break;
case Channel.DYNAMIC:
--- 222,228 ----
switch (ch.type) {
case Channel.LISTENER:
! sourceOrigin.put(0, listenerOrigin.get(0));
! sourceOrigin.put(1, listenerOrigin.get(1));
! sourceOrigin.put(2, listenerOrigin.get(2));
break;
case Channel.DYNAMIC:
|