mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
Merge branch 'tmj-dev' into milek-dev
This commit is contained in:
@@ -230,6 +230,8 @@ driver_mode::update() {
|
||||
|
||||
update_camera( deltarealtime );
|
||||
|
||||
simulation::Environment.update_precipitation(); // has to be launched after camera step to work properly
|
||||
|
||||
Timer::subsystem.sim_total.stop();
|
||||
|
||||
simulation::Region->update_sounds();
|
||||
@@ -948,6 +950,7 @@ driver_mode::InOutKey( bool const Near )
|
||||
train->Dynamic()->ABuSetModelShake( { 0, 0, 0 } );
|
||||
train->MechStop();
|
||||
FollowView(); // na pozycję mecha
|
||||
train->UpdateMechPosition( m_secondaryupdaterate );
|
||||
}
|
||||
else
|
||||
FreeFlyModeFlag = true; // nadal poza kabiną
|
||||
|
||||
Reference in New Issue
Block a user