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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user