Merge pull request #4235 from Citadel-Station-13/upstream-merge-33259

[MIRROR] Reverts sound range and falloff  so as to not carry as far
This commit is contained in:
deathride58
2017-12-05 22:41:01 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
#define SOUND_MINIMUM_PRESSURE 10
#define FALLOFF_SOUNDS 0.5
#define FALLOFF_SOUNDS 1
//Ambience types
+1 -1
View File
@@ -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)