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

fixes for EZT and coupler config parsing, minor re-arrangement of the main loop.

This commit is contained in:
tmj-fstate
2017-02-01 22:44:09 +01:00
parent e3f82b68eb
commit 22e168f518
10 changed files with 1292 additions and 1377 deletions

View File

@@ -2643,10 +2643,10 @@ void TTrain::UpdateMechPosition(double dt)
pMechPosition += DynamicObject->GetPosition();
};
bool TTrain::Update()
bool TTrain::Update( double const Deltatime )
{
DWORD stat;
double dt = Timer::GetDeltaTime();
double dt = Deltatime; // Timer::GetDeltaTime();
if (DynamicObject->mdKabina)
{ // Ra: TODO: odczyty klawiatury/pulpitu nie
// powinny być uzależnione od istnienia modelu