diff options
Diffstat (limited to 'crates/fparkan-runtime/src/boarding.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/boarding.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/boarding.rs b/crates/fparkan-runtime/src/boarding.rs index 7992aaf7..cb15f420 100644 --- a/crates/fparkan-runtime/src/boarding.rs +++ b/crates/fparkan-runtime/src/boarding.rs @@ -16,6 +16,7 @@ pub(super) struct Boarding { pub(super) hero: StartingCockpit, pub(super) can_fly: bool, pub(super) ground: Option<crate::ground_support::GroundSupport>, + pub(super) flight_velocity: [f32; 3], } /// The vehicle cockpit while the player is aboard. @@ -138,6 +139,7 @@ pub fn board_friendly_warbot( hero, can_fly, ground, + flight_velocity: [0.0; 3], }); mission.player_pitch_bits = 0; } |
