From 824f6490ac09c40409cc8048f6b53ec120ba4269 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sat, 13 Oct 2018 15:52:42 -0400 Subject: [PATCH] Sim: views bugfix -- I am stupid --- Nasal/zoom-views.nas | 2 +- revision.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/zoom-views.nas b/Nasal/zoom-views.nas index 55df02b9..415981c7 100644 --- a/Nasal/zoom-views.nas +++ b/Nasal/zoom-views.nas @@ -12,7 +12,7 @@ var viewName = "XX"; var fovZoom = func(d) { viewName = getprop("/sim/current-view/name"); - canChangeZOffset = getprop("/sim/current-view/type") == "lookat" and (viewName != "Tower View" or viewName != "Fly-By View" or viewName != "Chase View" or viewName != "Chase View Without Yaw" or viewName != "Walk View"); + canChangeZOffset = getprop("/sim/current-view/type") == "lookat" and viewName != "Tower View" and viewName != "Fly-By View" and viewName != "Chase View" and viewName != "Chase View Without Yaw" and viewName != "Walk View"; if (getprop("/sim/current-view/z-offset-m") <= -50) { decStep = -10; diff --git a/revision.txt b/revision.txt index 84e38ba4..7a8490ad 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -4668 \ No newline at end of file +4669 \ No newline at end of file