******************************************************************/
FGMultiplayTxMgr::FGMultiplayTxMgr() {
- int iPlayerCnt; // Count of players in player array
+ // int iPlayerCnt; // Count of players in player array
// Initialise private members
m_bInitialised = false;
// If Tx port == zero then don't initialise
} else {
- SG_LOG( SG_NETWORK, SG_WARN, "FGMultiplayTxMgr::init - Tx Port is zero. Multiplay out disabled." );
+ SG_LOG( SG_NETWORK, SG_INFO, "FGMultiplayTxMgr::init - Tx Port is zero. Multiplay out disabled." );
bSuccess = false;
}
m_bInitialised = bSuccess;
} else {
- SG_LOG( SG_NETWORK, SG_ALERT, "FGMultiplayTxMgr::init - Attempt to init object that is already opened" );
+ SG_LOG( SG_NETWORK, SG_WARN, "FGMultiplayTxMgr::init - Attempt to init object that is already opened" );
bSuccess = false;
}
******************************************************************/
void FGMultiplayTxMgr::SendTextMessage(const string &sMsgText) const {
- bool bResult = false;
+ // bool bResult = false;
T_MsgHdr MsgHdr;
T_ChatMsg ChatMsg;
- int iNextBlockPosition = 0;
+ unsigned int iNextBlockPosition = 0;
char sMsg[sizeof(T_MsgHdr) + sizeof(T_ChatMsg)];
if (m_bInitialised) {