Fix compilation warnings

This commit is contained in:
2026-08-29 17:55:06 +02:00
parent 077d168655
commit 9546df578d
13 changed files with 8 additions and 38 deletions
-2
View File
@@ -1,5 +1,3 @@
use fixed::traits::Fixed;
use crate::fighter::*;
pub fn integrate_gravity(velocity: &mut FighterVelocity, attributes: &FighterAttributes) {
+1 -3
View File
@@ -1,6 +1,4 @@
use std::hash::{Hash, Hasher};
use bevy::prelude::*;
use std::hash::{Hasher};
use super::{FighterStateContext, FighterStateImpl, ground, run, wait, walk};
use crate::fighter::FighterFacingDirection;
-1
View File
@@ -12,7 +12,6 @@ use crate::math::vec::FGVec2;
use crate::stage::line::{StageLineID, StagePolyLineSegmentType};
use bevy::prelude::*;
use fixed::traits::Fixed;
#[derive(Reflect, Hash, Clone, Debug)]
pub struct GroundedStateCommon {
-3
View File
@@ -1,6 +1,3 @@
use bevy::prelude::*;
use crate::fighter::{
animation::AnimKind,
state::{
-2
View File
@@ -1,6 +1,4 @@
use bevy::prelude::*;
use super::{FighterStateContext, FighterStateImpl, dash, ground, wait};
use crate::fighter::animation::AnimKind;
use crate::fighter::state::FighterState;