From: curt Date: Fri, 19 Apr 2002 15:48:27 +0000 (+0000) Subject: Jim Wilson: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8b3f0ad7cc9a41629f56641d3d023c998525b2f4;p=flightgear.git Jim Wilson: Also move tower when teleporting to a new airport. --- diff --git a/src/GUI/apt_dlg.cxx b/src/GUI/apt_dlg.cxx index 4d45d8291..3399d7e91 100644 --- a/src/GUI/apt_dlg.cxx +++ b/src/GUI/apt_dlg.cxx @@ -98,6 +98,9 @@ void AptDialog_OK (puObject *) fgSetPosFromAirportIDandHdg( AptId, cur_fdm_state->get_Psi() * SGD_RADIANS_TO_DEGREES); + fgSetTowerPosFromAirportID( AptId, + cur_fdm_state->get_Psi() * + SGD_RADIANS_TO_DEGREES); // BusyCursor(0); fgReInitSubsystems(); double visibility_meters =