#include "AIEntity.hxx"
-extern ssgRoot* scene; // The global Flightgear scene graph
-
FGAIEntity::~FGAIEntity() {
}
sgCoord shippos;
FastWorldCoordinate(&shippos, sc);
position->setTransform( &shippos );
- scene->addKid(position);
+ globals->get_scene_graph()->addKid(position);
//cout << "Transform called\n";
}