From 90df9b9b121ce2f775d0d10709732f05d13a905e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=B3lik=20Uszasty?= Date: Wed, 6 Mar 2019 20:05:26 +0100 Subject: [PATCH] Unified multiplier for "brakes" gauge with other pneumatic gauges --- Train.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Train.cpp b/Train.cpp index d19a87df..d9c3c7f1 100644 --- a/Train.cpp +++ b/Train.cpp @@ -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:"))