]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCdisplay.cxx
If it's a struct, it's not a class
[flightgear.git] / src / ATC / ATCdisplay.cxx
index 4d5fe97351ce16b6980e6e998e5d3205e9921791..89588e0006f0967708853a3f4600016f2a9792c2 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
@@ -203,6 +203,7 @@ void FGATCDisplay::update(double dt) {
 }
 
 void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) {
+/**/   return;
        //cout << msg << '\n';
        atcMessage m;
        m.msg = msg;
@@ -215,24 +216,25 @@ void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) {
        m.dsp_offset = 0.0;
        
        msgList.push_back(m);
-       fgSetString("/sim/messages/atc", msg.c_str());
        //cout << "Single message registered\n";
 }
 
 void FGATCDisplay::RegisterRepeatingMessage(const string& msg) {
+/**/   return;
        rep_msg = true;
        rep_msg_str = msg;
-       fgSetString("/sim/messages/atc", msg.c_str());
        return;
 }
 
 void FGATCDisplay::ChangeRepeatingMessage(const string& newmsg) {
+/**/   return;
        rep_msg_str = newmsg;
        change_msg_flag = true;
        return;
 }
 
 void FGATCDisplay::CancelRepeatingMessage() {
+/**/   return;
        rep_msg = false;
        rep_msg_str = "";
        dsp_offset1 = 0;