aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/main.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-01 20:55:38 +0300
committerValentin Popov <valentin@popov.link>2026-12-01 20:55:38 +0300
commitd154efdd050e730c4072e5f53843cf3610651d00 (patch)
treefdd0c56d5232dd958f529d6faefb0f585944057e /apps/fparkan-game/src/main.rs
parent697241b84fb0446af5feba8eb1f78b3b04cdd5a4 (diff)
downloadfparkan-d154efdd050e730c4072e5f53843cf3610651d00.tar.xz
fparkan-d154efdd050e730c4072e5f53843cf3610651d00.zip
feat(player): announce vehicle capture when the hero stays outside
Restore the original warbot and mobile command centre acknowledgement bank. A capture that also seats the hero remains silent. The bank and non-repeat selection were checked against the native DLL, and a walk from the normal Teleport start queued the authored voice before the objective notice.
Diffstat (limited to 'apps/fparkan-game/src/main.rs')
-rw-r--r--apps/fparkan-game/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs
index 77a1dec5..cd6ce717 100644
--- a/apps/fparkan-game/src/main.rs
+++ b/apps/fparkan-game/src/main.rs
@@ -10941,6 +10941,7 @@ impl StaticVulkanApp {
) {
let entry = enter_vehicle(engine, cockpit, self.boarding_target)
.map_err(|error| error.to_string())?;
+ capture_notice = entry.capture_notice();
if let Some(target) = entry.captured {
self.boarding_target = mission_object_handle(engine, target);
eprintln!(