some camera code

This commit is contained in:
aap 2020-06-09 15:50:00 +02:00
parent f78f707935
commit c7a32bb83d
11 changed files with 1012 additions and 896 deletions

View file

@ -273,14 +273,14 @@ CAutomobile::ProcessControl(void)
if(CReplay::IsPlayingBack())
return;
UpdatePassengerList();
// Heli wind
if(IsRealHeli())
if((GetStatus() == STATUS_PLAYER || GetStatus() == STATUS_PHYSICS) && m_aWheelSpeed[1] > 0.075f ||
GetStatus() == STATUS_SIMPLE)
CWindModifiers::RegisterOne(GetPosition(), 1);
UpdatePassengerList();
// Improve grip of vehicles in certain cases
bool strongGrip1 = false;
bool strongGrip2 = false;