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;