aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared/projectile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/projectile.rs')
-rw-r--r--src/shared/projectile.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/projectile.rs b/src/shared/projectile.rs
index 772f5d9..bc0a505 100644
--- a/src/shared/projectile.rs
+++ b/src/shared/projectile.rs
@@ -39,6 +39,7 @@ pub struct FreeProjectile {
pub position: Vec2,
pub direction: Vec2,
pub starting_position: Vec2,
+ pub max_distance: f32,
}
#[derive(Component, Message, Serialize, Deserialize, Clone, Debug, PartialEq)]