aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/mobile_budget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/fparkan-runtime/src/mobile_budget.rs')
-rw-r--r--crates/fparkan-runtime/src/mobile_budget.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/crates/fparkan-runtime/src/mobile_budget.rs b/crates/fparkan-runtime/src/mobile_budget.rs
index fb8dad48..6f778725 100644
--- a/crates/fparkan-runtime/src/mobile_budget.rs
+++ b/crates/fparkan-runtime/src/mobile_budget.rs
@@ -150,24 +150,6 @@ pub(super) fn weapon_update(
Ok(())
}
-pub(super) fn passive_device_rate(
- device: &EffectiveControlDevice,
- dt: f32,
-) -> Result<f32, ControlResourceAccessError> {
- if device.native_word_50_bits != Some(0x2000) {
- return Err(ControlResourceAccessError::UnsupportedField {
- factory_tag: 10,
- field: "active mode +0x50",
- });
- }
- Ok(-checked_control_product(
- 10,
- "passive device upkeep",
- dt,
- control_device_budget_descriptor_float(device, 8, "passive device rate")?,
- )?)
-}
-
pub(super) fn unmodeled_motion_rate() -> f32 {
// shortcut: omit demand where the live CTL state has not been recovered.
0.0