Mend some stuff
CI / build-and-test (pull_request) Successful in 1m35s
CI / production-build (pull_request) Successful in 10m46s

This commit is contained in:
2026-10-06 20:06:24 +02:00
parent a3fe5123f1
commit d3bb1de0f0
+1 -4
View File
@@ -1,4 +1,4 @@
//! Deterministic grounded fighter-to-fighter pushing.
//! fighter-to-fighter pushing
use bevy::prelude::*;
@@ -45,9 +45,6 @@ fn push_delta(first: Pushbox, second: Pushbox, nudge: FGi32) -> FGi32 {
(first.center - second.center).signum() * nudge
}
/// Applies all pair contributions from a position snapshot simultaneously.
/// The pair loop intentionally visits every direction: each fighter gets its
/// own nudge, just as in Melee.
fn calculate_push_deltas(
pushboxes: &[Option<Pushbox>],
stage: &StageCollision,