mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 20:59:19 +02:00
Fixed shp activation when activating a cabin
This commit is contained in:
@@ -83,6 +83,8 @@ int DirF(int CouplerN)
|
|||||||
void TSecuritySystem::set_enabled(bool e) {
|
void TSecuritySystem::set_enabled(bool e) {
|
||||||
if (vigilance_enabled || cabsignal_enabled)
|
if (vigilance_enabled || cabsignal_enabled)
|
||||||
enabled = e;
|
enabled = e;
|
||||||
|
if (CabDependent)
|
||||||
|
cabactive = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void TSecuritySystem::acknowledge_press() {
|
void TSecuritySystem::acknowledge_press() {
|
||||||
|
|||||||
Reference in New Issue
Block a user