From 7b40fe9a7215b05194b9e870de9d920b55b7c6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=B3lik=20Uszasty?= Date: Thu, 21 Jul 2022 21:12:42 +0200 Subject: [PATCH] Fixed shp activation when activating a cabin --- McZapkie/Mover.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/McZapkie/Mover.cpp b/McZapkie/Mover.cpp index 5ef8a2d5..f3740bbb 100644 --- a/McZapkie/Mover.cpp +++ b/McZapkie/Mover.cpp @@ -83,6 +83,8 @@ int DirF(int CouplerN) void TSecuritySystem::set_enabled(bool e) { if (vigilance_enabled || cabsignal_enabled) enabled = e; + if (CabDependent) + cabactive = 0; } void TSecuritySystem::acknowledge_press() {