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

No hunting and engine shakeof camera in FreeFlyMode

This commit is contained in:
Królik Uszasty
2020-01-13 20:18:39 +01:00
parent 1656d6e953
commit 180b800cc3

View File

@@ -6520,6 +6520,9 @@ TDynamicObject::update_shake( double const Timedelta ) {
IsHunting = ( huntingamount > 0.025 );
}
if (FreeFlyModeFlag)
shakevector *= 0;
auto const iVel { std::min( GetVelocity(), 150.0 ) };
if( iVel > 0.5 ) {
// acceleration-driven base shake