Revert "src/MultiPlayer/multiplaymgr.cxx: don't overwrite /sim/multiplay/visibility-range-nm if already set."
This reverts commit 4a067e721f
.
This commit is contained in:
parent
f770dc1c50
commit
d71f8daa86
1 changed files with 1 additions and 4 deletions
|
@ -962,10 +962,7 @@ FGMultiplayMgr::FGMultiplayMgr()
|
|||
pMultiPlayDebugLevel = fgGetNode("/sim/multiplay/debug-level", true);
|
||||
pMultiPlayTransmitPropertyBase = fgGetNode("/sim/multiplay/transmit-filter-property-base", true);
|
||||
pMultiPlayRange = fgGetNode("/sim/multiplay/visibility-range-nm", true);
|
||||
if (pMultiPlayRange->getIntValue() == 0) {
|
||||
/* Only set if currently zero - this allows override e.g. in ~/.fgfsrc. */
|
||||
pMultiPlayRange->setIntValue(100);
|
||||
}
|
||||
} // FGMultiplayMgr::FGMultiplayMgr()
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Reference in a new issue