From 3d5a6b63cc7116ecc4cf815d423f59dd65b6b7a3 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Thu, 1 Dec 2022 10:52:22 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index a7c397d..57818a0 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -41,7 +41,7 @@ #include -#define NUM_CALLS 4 +#define NUM_CALLS 1 #define MAX_GND_RANGE 10.0 #define MAX_TWR_RANGE 50.0 #define MAX_RANGE 100.0 @@ -244,7 +244,7 @@ void FGCom::postinit() } //WARNING: this _must_ be executed after sound system is totally initialized ! - if( iaxc_initialize(4) ) { + if( iaxc_initialize(NUM_CALLS) ) { SG_LOG(SG_SOUND, SG_ALERT, "FGCom: cannot initialize iaxclient"); _enabled = false; return;