Add weapons and engine to environmental effects

This commit is contained in:
2021-04-15 01:30:13 +02:00
parent 3e5809a98e
commit d99cbe3211
5 changed files with 23 additions and 3 deletions
+2
View File
@@ -37,6 +37,8 @@ namespace EvilSatellites.Objects
sfxWhine = Screen.Manager.Sound.Load(@"sfx/engine/int/engineWhine.wav", false);
sfxEngine.Loop = true;
sfxWhine.Loop = true;
sfxEngine.ConnectToEffect(Screen.Manager.EnvironmentEffect);
sfxWhine.ConnectToEffect(Screen.Manager.EnvironmentEffect);
sfxEngine.Play();
sfxWhine.Play();