1
0
Fork 0

Nasal/view.nas: allow Tower View Look From to work with multiplayer aircraft.

This commit is contained in:
Julian Smith 2019-08-19 08:44:48 +01:00
parent 2c5f6a96c2
commit 8301a4f16e

View file

@ -5,7 +5,9 @@
# ATTENTION: # ATTENTION:
# /sim/current-view/view-number is in the range 0..viewCount, it is NOT # /sim/current-view/view-number is in the range 0..viewCount, it is NOT
# the index used in aircraft XML files (e.g. <view n="100">) # the index used in aircraft XML files (e.g. <view n="100">).
#
# For the latter, use /sim/current-view/view-number-raw.
# For debugging. Returns string containing description of <x>. # For debugging. Returns string containing description of <x>.
# #
@ -258,9 +260,9 @@ var manager = {
forindex (var i; viewnodes) { forindex (var i; viewnodes) {
# Install this view, marking as multiplayer if appropriate. # Install this view, marking as multiplayer if appropriate.
var multiplayer = 1; var multiplayer = 1;
if (i==4) { if (0) {
# Tower Look From views does not currently support # Use this for views that do not work with multiplayer
# multiplayer aircraft. # aircraft.
multiplayer = 0; multiplayer = 0;
} }
var viewnode = viewnodes[i]; var viewnode = viewnodes[i];