16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 06:59:18 +02:00

configurable viewport draw range

This commit is contained in:
milek7
2019-03-18 23:07:28 +01:00
parent 8685b0ec47
commit 4b3bea9ea3
5 changed files with 11 additions and 1 deletions

View File

@@ -2260,7 +2260,8 @@ void TMoverParameters::SecuritySystemCheck(double dt)
if (Battery) {
SecuritySystem.update(dt, Vel);
}
else
if (!Battery || !Radio)
{ // wyłączenie baterii deaktywuje sprzęt
RadiostopSwitch(false);
}