Apply coast drag after interceptor burnout
Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
@@ -2990,7 +2990,7 @@ impl Sim {
|
||||
if m.age == spec.cold + m.kind.burn_ticks() + 1 {
|
||||
burnouts.push((m.pos, m.id, m.kind));
|
||||
}
|
||||
let speed = if !lit {
|
||||
let speed = if m.age <= spec.cold {
|
||||
(m.vel.length() * 0.97).max(0.4)
|
||||
} else if lit {
|
||||
(m.vel.length() + spec.accel).min(spec.speed)
|
||||
|
||||
Reference in New Issue
Block a user