From 35e55c7dd08df6a5a7abd019d092da39103d8314 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 0934eb498af..de0cca70388 100644 --- a/code/__DEFINES/sound.dm +++ b/code/__DEFINES/sound.dm @@ -16,7 +16,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 d6c2c36fcff..9032a3f9c19 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)