]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/AIEntity.cxx
Multiplayer client/server system -- MessageBuf class and test harness complete
[flightgear.git] / src / ATC / AIEntity.cxx
index e2511a0ab4d96d5909eb0480906fdcffd1e38a28..88945a1efbe1381c50b1e4a48f9f46bfc2f208ba 100644 (file)
@@ -46,10 +46,13 @@ FGAIEntity::~FGAIEntity() {
 void FGAIEntity::Update(double dt) {
 }
 
+void FGAIEntity::RegisterTransmission(int code) {
+}
+
 // Run the internal calculations
 //void FGAIEntity::Update() {
 void FGAIEntity::Transform() {
     aip.setPosition(pos.lon(), pos.lat(), pos.elev() * SG_METER_TO_FEET);
     aip.setOrientation(roll, pitch, hdg);
-    aip.update();    
+    aip.update( globals->get_scenery()->get_center() );    
 }