16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

Unified multiplier for "brakes" gauge with other pneumatic gauges

This commit is contained in:
Królik Uszasty
2019-03-06 20:05:26 +01:00
committed by tmj-fstate
parent 4051892066
commit 90df9b9b12

View File

@@ -8035,7 +8035,7 @@ bool TTrain::initialize_gauge(cParser &Parser, std::string const &Label, int con
Parser.getTokens(2, false);
Parser >> i >> j;
auto &gauge = Cabine[Cabindex].Gauge(-1); // pierwsza wolna gałka
gauge.Load(Parser, DynamicObject);
gauge.Load(Parser, DynamicObject, 0.1);
gauge.AssignFloat(&fPress[i - 1][j]);
}
else if ((Label == "brakepress:") || (Label == "brakepressb:"))