1
0
Fork 0

Anders GIDENSTAM: "only override the receive port when it isn't set already"

This commit is contained in:
mfranz 2008-06-03 15:57:33 +00:00
parent 9fc99b10e2
commit c9d2243960

View file

@ -247,7 +247,8 @@ FGMultiplayMgr::init (void)
} else {
mHaveServer = true;
}
rxPort = txPort;
if (rxPort <= 0)
rxPort = txPort;
}
if (rxPort <= 0) {
SG_LOG(SG_NETWORK, SG_ALERT,