From bf991ad728dd6cdc02168b4d6552f0e7e85181a2 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 11:43:57 +0400 Subject: fix(render): drive warbot muzzle flashes with firing phases Use the first CPT node when the effect has no explicit override. Feed the autonomous weapon banks into the same phase sampling path as manual weapons. Confirm the effect constructor and phase reads in the original DLLs, and compare the two cannon flashes in a live AutoDemo window at the same clock sample. --- crates/fparkan-runtime/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 1a46e031..eef3a158 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -193,7 +193,10 @@ pub use projectile::{ pub use projectile_parts::{depleted_chassis_nodes, depleted_warbot_nodes}; pub use research::order_lab_research; pub use robot_designer::{load_gameplay_mission, load_gameplay_mission_with_build_parts}; -pub use unit_combat::{AutoDemoCombatEvent, AutoDemoProjectileType, FiringEffectInstance}; +pub use unit_combat::{ + autonomous_firing_effect_phases, AutoDemoCombatEvent, AutoDemoProjectileType, + FiringEffectInstance, +}; pub use unit_spawn::SpawnedUnit; const MISSION_DECODED_PAYLOAD_CACHE_ENTRIES: usize = 256; -- cgit v1.2.3