fix
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user