From ce97a1e4c54bae27f9da19f41f366f161562a0d3 Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Tue, 9 Aug 2011 18:20:18 +0100 Subject: [PATCH] Bugfix: Ballistic objects with "expiry" set were not instantiating correctly. Signed-off-by: Vivian Meazza --- src/AIModel/AIBallistic.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/AIModel/AIBallistic.cxx b/src/AIModel/AIBallistic.cxx index 74b882821..4336fa14c 100644 --- a/src/AIModel/AIBallistic.cxx +++ b/src/AIModel/AIBallistic.cxx @@ -684,15 +684,16 @@ void FGAIBallistic::Run(double dt) { if (_life_timer > life && life != -1){ if (_report_expiry && !_expiry_reported && !_impact_reported && !_collision_reported){ - //cout<<"AIBallistic run: name " << _name.c_str() << " expiry " << " pass " << _pass <