Nasal/view.nas: allow Tower View Look From to work with multiplayer aircraft.
This commit is contained in:
parent
2c5f6a96c2
commit
8301a4f16e
1 changed files with 6 additions and 4 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue