diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index d7a839706..d034f7a1c 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -432,12 +432,16 @@ FGMultiplayMgr::init (void) << txAddress << "'. Multiplayer mode disabled."); return; } else { - SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - have server"); + SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - have server"); mHaveServer = true; } if (rxPort <= 0) rxPort = txPort; + } else { + SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - no transmission address. Multiplayer mode disabled"); + return; } + if (rxPort <= 0) { SG_LOG(SG_NETWORK, SG_INFO, "FGMultiplayMgr - No receiver port. Multiplayer mode disabled.");