summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2006-03-23 18:25:56 +0000
committerSimon Howard2006-03-23 18:25:56 +0000
commit8c66bb9fdc95ee3271a3ca0bd9d6653b9ed725d7 (patch)
tree6701cfb7bcb8b734f980b96555038438ca62bffd /src
parentd54a1ab430987fb6bda3c05ee2db2e9d012a6341 (diff)
downloadchocolate-doom-8c66bb9fdc95ee3271a3ca0bd9d6653b9ed725d7.tar.gz
chocolate-doom-8c66bb9fdc95ee3271a3ca0bd9d6653b9ed725d7.tar.bz2
chocolate-doom-8c66bb9fdc95ee3271a3ca0bd9d6653b9ed725d7.zip
Fix sound range
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 430
Diffstat (limited to 'src')
-rw-r--r--src/s_sound.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/s_sound.c b/src/s_sound.c
index d8547dc3..af7bc06b 100644
--- a/src/s_sound.c
+++ b/src/s_sound.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: s_sound.c 429 2006-03-23 17:43:15Z fraggle $
+// $Id: s_sound.c 430 2006-03-23 18:25:56Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -67,7 +67,7 @@
static const char
-rcsid[] = "$Id: s_sound.c 429 2006-03-23 17:43:15Z fraggle $";
+rcsid[] = "$Id: s_sound.c 430 2006-03-23 18:25:56Z fraggle $";
@@ -103,8 +103,9 @@ const char snd_prefixen[]
// Distance tp origin when sounds should be maxed out.
// This should relate to movement clipping resolution
// (see BLOCKMAP handling).
-// Originally: (200*0x10000).
-#define S_CLOSE_DIST (160*0x10000)
+// In the source code release: (160*0x10000). Changed back to the
+// Vanilla value of 200 (why was this changed?)
+#define S_CLOSE_DIST (200*0x10000)
#define S_ATTENUATOR ((S_CLIPPING_DIST-S_CLOSE_DIST)>>FRACBITS)