From 180b800cc33943ed30975e3e8a6a7751cd286e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kr=C3=B3lik=20Uszasty?= Date: Mon, 13 Jan 2020 20:18:39 +0100 Subject: [PATCH] No hunting and engine shakeof camera in FreeFlyMode --- DynObj.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DynObj.cpp b/DynObj.cpp index a2ecd01e..7e222a6d 100644 --- a/DynObj.cpp +++ b/DynObj.cpp @@ -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