1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

project critical

This commit is contained in:
Robin Appelman 2025-06-26 16:56:04 +02:00
commit 331a9fe593
4 changed files with 127 additions and 50 deletions

View file

@ -322,6 +322,7 @@ pub struct Projectile {
pub bounds: Option<Box>,
pub launcher: Handle,
pub ty: ProjectileType,
pub critical: bool,
}
impl Projectile {
@ -336,6 +337,7 @@ impl Projectile {
bounds: None,
launcher: Handle::default(),
ty: ProjectileType::new(class_name, None),
critical: false,
}
}
}