From 80e399880dad96f37a9e976413248206625dd8b1 Mon Sep 17 00:00:00 2001
From: 2hwk <15316958+2hwk@users.noreply.github.com>
Date: Thu, 17 Oct 2024 22:55:50 +0800
Subject: [PATCH] fix(a380x/window): Hotfix for Windows in Flight (#9083)
* fix: updated lvar name
* chore: docs
---
fbw-a380x/docs/a380-simvars.md | 4 ++++
.../FlyByWire_A380_842/model/behaviour/interactive-parts.xml | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/fbw-a380x/docs/a380-simvars.md b/fbw-a380x/docs/a380-simvars.md
index a91367e4a34..cc222cc9383 100644
--- a/fbw-a380x/docs/a380-simvars.md
+++ b/fbw-a380x/docs/a380-simvars.md
@@ -345,6 +345,10 @@
- B3
- B4
+- A32NX_PRESS_MAN_CABIN_DELTA_PRESSURE
+ - PSI
+ - As above, but analog system transmitted by the manual partition of CPC1
+
- A32NX_PRESS_OCSM_{id1}_CHANNEL_{id2}_FAILURE
- Bool
- True if the channel is failed
diff --git a/fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/model/behaviour/interactive-parts.xml b/fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/model/behaviour/interactive-parts.xml
index 543948b6b5b..bdbee631f38 100644
--- a/fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/model/behaviour/interactive-parts.xml
+++ b/fbw-a380x/src/base/flybywire-aircraft-a380-842/SimObjects/AirPlanes/FlyByWire_A380_842/model/behaviour/interactive-parts.xml
@@ -557,7 +557,7 @@
- (L:A32NX_PRESS_CABIN_DELTA_PRESSURE, psi) 1.2 < if{
+ (L:A32NX_PRESS_MAN_CABIN_DELTA_PRESSURE, psi) 1.2 < if{
(L:FO_SLIDING_WINDOW) ! (>L:FO_SLIDING_WINDOW)
} els{
0 (>L:FO_SLIDING_WINDOW)
@@ -577,7 +577,7 @@
- (A:IS CAMERA RAY INTERSECT WITH NODE:1, Bool) 0 == (L:A32NX_PRESS_CABIN_DELTA_PRESSURE, psi) 1.2 < and if{
+ (A:IS CAMERA RAY INTERSECT WITH NODE:1, Bool) 0 == (L:A32NX_PRESS_MAN_CABIN_DELTA_PRESSURE, psi) 1.2 < and if{
(L:CPT_SLIDING_WINDOW) ! (>L:CPT_SLIDING_WINDOW)
} els{
0 (>L:CPT_SLIDING_WINDOW)