更新 'src/Network/fgcom.cxx'

This commit is contained in:
zhongjin 2022-12-01 10:52:22 +08:00
parent 81ec0e0d89
commit 3d5a6b63cc

View File

@ -41,7 +41,7 @@
#include <iaxclient.h>
#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;