ref: 8c66bb9fdc95ee3271a3ca0bd9d6653b9ed725d7
parent: d54a1ab430987fb6bda3c05ee2db2e9d012a6341
author: Simon Howard <[email protected]>
date: Thu Mar 23 13:25:56 EST 2006
Fix sound range Subversion-branch: /trunk/chocolate-doom Subversion-revision: 430
--- 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 @@
// 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)