]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.cxx
More efficient rotation matrix calc from Norm Vine.
[flightgear.git] / src / ATC / AIEntity.cxx
index 828b9dde8ee4479c1f6d550ecff941fc6b3aaa70..f3b06ff9cf904f5cb9b2f9368dcf2baf5b5c31ee 100644 (file)
@@ -53,7 +53,7 @@ void FGAIEntity::Transform() {
     sgCoord shippos;
     FastWorldCoordinate(&shippos, sc);
     position->setTransform( &shippos );
-    globals->get_scene_graph()->addKid(position);
+    globals->get_scenery()->get_scene_graph()->addKid(position);
     //cout << "Transform called\n";
 }