From e2a3bd9493c269ed2c19e49d770fc020d7e7d238 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 6 Dec 2022 16:07:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Network/fgcom.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Network/fgcom.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 518b3d3..4e7768b 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -647,8 +647,7 @@ void FGCom::valueChanged(SGPropertyNode *prop) _mpTransmitFrequencyNode->setValue(_currentCallFrequency * 1000000); _mpTransmitPowerNode->setValue(1.0); - SGPath soundpath( globals->get_fg_root() ); - soundpath.append( "/Sounds/click.wav" ); + SGPath soundpath( globals->get_fg_root() + "/Sounds/click.wav" ); SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath);