diff options
Diffstat (limited to 'src/jake2/server/SV_GAME.java')
-rw-r--r-- | src/jake2/server/SV_GAME.java | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/jake2/server/SV_GAME.java b/src/jake2/server/SV_GAME.java index 8f6eec4..c6d433b 100644 --- a/src/jake2/server/SV_GAME.java +++ b/src/jake2/server/SV_GAME.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 14.01.2004 by RST. -// $Id: SV_GAME.java,v 1.4 2004-07-08 20:56:54 hzi Exp $ +// $Id: SV_GAME.java,v 1.2 2004-07-08 15:58:45 hzi Exp $ package jake2.server; @@ -262,9 +262,6 @@ public class SV_GAME extends SV_INIT { cluster = CM.CM_LeafCluster(leafnum); area2 = CM.CM_LeafArea(leafnum); - // quake2 bugfix - if (cluster == -1) - return false; if (mask != null && (0 == (mask[cluster >>> 3] & (1 << (cluster & 7))))) return false; @@ -296,10 +293,7 @@ public class SV_GAME extends SV_INIT { cluster = CM.CM_LeafCluster(leafnum); area2 = CM.CM_LeafArea(leafnum); - // quake2 bugfix - if (cluster == -1) - return false; - if (mask != null && (0 == (mask[cluster >> 3] & (1 << (cluster & 7))))) + if (mask != null && (0 == (mask[cluster >>> 3] & (1 << (cluster & 7))))) return false; // more than one bounce away if (!CM.CM_AreasConnected(area1, area2)) return false; // a door blocks hearing @@ -312,7 +306,7 @@ public class SV_GAME extends SV_INIT { return; //TODO: impl SV_StartSound - SV_SEND.SV_StartSound (null, entity, channel, sound_num, volume, attenuation, timeofs); + //SV_SEND.SV_StartSound (null, entity, channel, sound_num, volume, attenuation, timeofs); } //============================================== |