1
0
Fork 0

src/MultiPlayer/multiplaymgr.cxx: don't create view 8.

View 8 used to be new Tower View AGL view, but this interfered with hard-coded
aircraft view numbers. So fgdata now has removed Model View, meaning Tower
View AGL uses Model View's old number (7), which keeps sequential view numbers
unchanged.
This commit is contained in:
Julian Smith 2019-07-20 22:04:35 +01:00
parent ed0a009224
commit 9a67910899

View file

@ -2464,7 +2464,7 @@ FGMultiplayMgr::addMultiplayer(const std::string& callsign,
views.
*/
SGPropertyNode* view_1 = set_sim->getNode("view", 1);
std::initializer_list<int> views_with_default_z_offset_m = {1, 2, 3, 5, 7, 8};
std::initializer_list<int> views_with_default_z_offset_m = {1, 2, 3, 5, 7};
for (int j: views_with_default_z_offset_m) {
SGPropertyNode* v = set_sim->getChild("view", j);
if (!v) {