This commit is contained in:
silicons
2021-01-13 13:44:46 -07:00
parent 2525334bb0
commit 3fe2776a6a
4 changed files with 17 additions and 7 deletions
+4
View File
@@ -303,6 +303,7 @@
pulledby.stop_pulling()
/atom/movable/proc/set_glide_size(target = 8, recursive = TRUE)
#if SMOOTH_MOVEMENT
// SEND_SIGNAL(src, COMSIG_MOVABLE_UPDATE_GLIDE_SIZE, target)
glide_size = target
@@ -312,6 +313,9 @@
if(recursive)
recursive_pulled_glidesize_update()
#else
return
#endif
///Sets the anchored var and returns if it was sucessfully changed or not.
/atom/movable/proc/set_anchored(anchorvalue)
+7 -3
View File
@@ -174,9 +174,13 @@ distance_multiplier - Can be used to multiply the distance at which the sound is
if(A.sound_environment != SOUND_ENVIRONMENT_NONE)
S.environment = A.sound_environment
if(use_reverb && S.environment != SOUND_ENVIRONMENT_NONE) //We have reverb, reset our echo setting
S.echo[3] = 0 //Room setting, 0 means normal reverb
S.echo[4] = 0 //RoomHF setting, 0 means normal reverb.
if(use_reverb)
if(S.environment == SOUND_ENVIRONMENT_NONE) //We have reverb, reset our echo setting
S.environment = SOUND_ENVIRONMENT_CONCERT_HALL
S.echo = list(0, null, -10000, null, null, null, null, null, null, null, null, null, null, 1, 1, 1, null, null)
else
S.echo[3] = 0 //Room setting, 0 means normal reverb
S.echo[4] = 0 //RoomHF setting, 0 means normal reverb.
SEND_SOUND(src, S)