From 25f0b76a10dbd5ac2cfabd5354f621ae82cf19b4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 09:15:38 +0400 Subject: feat(combat): enable the authored weapons of hostile animals The armed Constructor creatures use the shared enemy search and fire their CTL weapon from Gun_Y. The stock start is outside range. The close encounter fixture shows the projectile in the Vulkan window and leaves the hero at 30 percent after one hit. --- crates/fparkan-runtime/src/projectile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/projectile.rs') diff --git a/crates/fparkan-runtime/src/projectile.rs b/crates/fparkan-runtime/src/projectile.rs index 0767ee4e..75790dbf 100644 --- a/crates/fparkan-runtime/src/projectile.rs +++ b/crates/fparkan-runtime/src/projectile.rs @@ -16,7 +16,7 @@ use fparkan_vfs::Vfs; use fparkan_world::{handle_by_original_id, request_delete, transform_state, ObjectHandle}; use std::sync::Arc; -const ANIMAL_UNIT_CLASS: u32 = 0x2000_0000; +pub(super) const ANIMAL_UNIT_CLASS: u32 = 0x2000_0000; /// Prepared visuals and travel parameters for one projectile prototype. pub struct ProjectileAssets { -- cgit v1.2.3