更新 'src/Network/fgcom.cxx'

next
zhongjin 2 years ago
parent 81ec0e0d89
commit 3d5a6b63cc

@ -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;

Loading…
Cancel
Save