From 1490c56d229d1a28e0e14da5c028ec8d6c72ec4f Mon Sep 17 00:00:00 2001 From: Robustin Date: Tue, 5 Dec 2017 16:40:51 -0500 Subject: [PATCH] Reverts sound range and falloff so as to not carry as far (#33259) * Reverts triple sound range * Reverts sound falloff --- code/__DEFINES/sound.dm | 2 +- code/game/sound.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/__DEFINES/sound.dm b/code/__DEFINES/sound.dm index 6866c024e2..8b93c8e38f 100644 --- a/code/__DEFINES/sound.dm +++ b/code/__DEFINES/sound.dm @@ -20,7 +20,7 @@ #define SOUND_MINIMUM_PRESSURE 10 -#define FALLOFF_SOUNDS 0.5 +#define FALLOFF_SOUNDS 1 //Ambience types diff --git a/code/game/sound.dm b/code/game/sound.dm index 231a346f2e..8e66fba95f 100644 --- a/code/game/sound.dm +++ b/code/game/sound.dm @@ -10,7 +10,7 @@ // Looping through the player list has the added bonus of working for mobs inside containers var/sound/S = sound(get_sfx(soundin)) - var/maxdistance = (world.view + extrarange) * 3 + var/maxdistance = (world.view + extrarange) var/list/listeners = GLOB.player_list if(!ignore_walls) //these sounds don't carry through walls listeners = listeners & hearers(maxdistance,turf_source)