From b12a11f00cbd04c053bb6979c0534708d206c46a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 19:43:04 +0400 Subject: fix(audio): play projectile launch sounds Read phase-zero one-shot sounds from the projectile's initial Control effect group. Reuse the decoded effects for trails and play the launch sounds when the weapon creates a projectile. The native mode-1 phase probe and the licensed hero missile fixture both pass. A replayed trigger at the stock Firing Line start queued H_fire_missile.wav once and Vulkan validation was clean. --- apps/fparkan-game/src/audio.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/fparkan-game/src/audio.rs') diff --git a/apps/fparkan-game/src/audio.rs b/apps/fparkan-game/src/audio.rs index c0af0418..ec64df1e 100644 --- a/apps/fparkan-game/src/audio.rs +++ b/apps/fparkan-game/src/audio.rs @@ -1917,6 +1917,7 @@ mod tests { audio.set_paused(true); crate::shot_sound::play_autonomous( &sounds, + &[], std::slice::from_ref(event), &mut audio, ); -- cgit v1.2.3