]> git.mxchange.org Git - flightgear.git/commitdiff
line up aircraft orientation and velocity vector
authorehofman <ehofman>
Thu, 22 Oct 2009 11:51:15 +0000 (11:51 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 22 Oct 2009 21:14:13 +0000 (23:14 +0200)
src/Model/acmodel.cxx

index 318b082e9a3b064dc066f381ec7583c38fce4d88..1dcf2bd2297e63cb0dba19065aa231a1f166e0bc 100644 (file)
@@ -133,8 +133,8 @@ FGAircraftModel::update (double dt)
   _fx->set_orientation( orient );
  
   _velocity = SGVec3d( -_speed_n->getDoubleValue(),
-                       -_speed_e->getDoubleValue(),
-                       -_speed_d->getDoubleValue());
+                       _speed_e->getDoubleValue(),
+                       _speed_d->getDoubleValue());
   _fx->set_velocity( _velocity );
 }