hi there, 

if noticed that my engine doesn't shutdown if i'am out of
fuel. the attached patch fixes that.

cu markus
? filtersjb/.deps
? filtersjb/Makefile
? filtersjb/Makefile.in
Index: models/propulsion/FGEngine.cpp
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/JSBSim/models/propulsion/FGEngine.cpp,v
retrieving revision 1.1
diff -r1.1 FGEngine.cpp
178c178,181
<   if (TanksWithFuel==0 || (haveOxTanks && TanksWithOxidizer==0)) return;
---
>   if (TanksWithFuel==0 || (haveOxTanks && TanksWithOxidizer==0)) {
> 	  Starved = true;
> 	  return;
>   }
-- 
Markus Barenhoff - phone: +49-40-39991368 - cell: +49-173-7215776
Stellinger Chaussee 26c - D-22529 Hamburg - Germany - Earth
url: http://www.alios.org/ -  mail: [EMAIL PROTECTED]
pgpkey: 0xAE7C7759 fp: 79 64 AA D9 B7 16 F5 06  6A 88 5F A9 4D 49 45 BB

Reply via email to