mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 07:59:18 +02:00
build 200112. vehicle level of detail selection tweak, track end detection logic tweak, minor bug fixes
This commit is contained in:
@@ -6061,7 +6061,7 @@ bool TTrain::Update( double const Deltatime )
|
||||
(std::abs(mvControlled->Im) > 0))
|
||||
{
|
||||
ggEngineVoltage.UpdateValue(
|
||||
(x * (mvControlled->PantographVoltage -
|
||||
(x * (std::abs(mvControlled->EngineVoltage) -
|
||||
mvControlled->RList[mvControlled->MainCtrlActualPos].R *
|
||||
std::abs(mvControlled->Im)) /
|
||||
mvControlled->RList[mvControlled->MainCtrlActualPos].Mn));
|
||||
|
||||
Reference in New Issue
Block a user