diff options
author | Rene Stoeckel <[email protected]> | 2004-09-22 19:22:16 +0000 |
---|---|---|
committer | Rene Stoeckel <[email protected]> | 2004-09-22 19:22:16 +0000 |
commit | c4fcffe436fbfb5b0f3b7be2e5ee103ec74932f7 (patch) | |
tree | 7c9439ab1d9f5a4fd61bd57c755069007b23e0b6 /src/jake2/sound/joal | |
parent | bcb4ac6eefb425d5b0a90009da506361d5739e75 (diff) |
major refactoring in game, server and client package
Diffstat (limited to 'src/jake2/sound/joal')
-rw-r--r-- | src/jake2/sound/joal/JOALSoundImpl.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jake2/sound/joal/JOALSoundImpl.java b/src/jake2/sound/joal/JOALSoundImpl.java index 3072c6b..72a36cc 100644 --- a/src/jake2/sound/joal/JOALSoundImpl.java +++ b/src/jake2/sound/joal/JOALSoundImpl.java @@ -2,13 +2,14 @@ * JOALSoundImpl.java * Copyright (C) 2004 * - * $Id: JOALSoundImpl.java,v 1.4 2004-09-19 09:12:20 hzi Exp $ + * $Id: JOALSoundImpl.java,v 1.5 2004-09-22 19:22:15 salomo Exp $ */ package jake2.sound.joal; import jake2.Defines; import jake2.Globals; import jake2.client.CL; +import jake2.client.CL_ents; import jake2.game.*; import jake2.qcommon.*; import jake2.sound.*; @@ -357,7 +358,7 @@ public final class JOALSoundImpl implements Sound { changeEnv = true; } - if ((Game.gi.pointcontents.pointcontents(origin)& Defines.MASK_WATER)!= 0) { + if ((GameBase.gi.pointcontents.pointcontents(origin)& Defines.MASK_WATER)!= 0) { changeEnv = currentEnv != EAX.EAX_ENVIRONMENT_UNDERWATER; currentEnv = EAX.EAX_ENVIRONMENT_UNDERWATER; } else { @@ -483,7 +484,7 @@ public final class JOALSoundImpl implements Sound { Math3D.VectorCopy(listenerOrigin, sourceOrigin); break; case Channel.DYNAMIC: - CL.GetEntitySoundOrigin(ch.entity, entityOrigin); + CL_ents.GetEntitySoundOrigin(ch.entity, entityOrigin); convertVector(entityOrigin, sourceOrigin); break; case Channel.FIXED: |