Merge branch 'patch'

This commit is contained in:
Silent 2018-06-13 20:56:23 +02:00
commit 9ba00037e5
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -528,7 +528,7 @@ void CAutomobile::ProcessPhoenixBlower( int32_t modelID )
} }
float finalAngle = 0.0f; float finalAngle = 0.0f;
if ( m_fGasPedal > 0.0f ) if ( std::abs(m_fGasPedal) > 0.0f )
{ {
if ( m_fSpecialComponentAngle < 1.3f ) if ( m_fSpecialComponentAngle < 1.3f )
{ {
@ -574,7 +574,7 @@ void CAutomobile::ProcessSweeper()
void CAutomobile::ProcessNewsvan() void CAutomobile::ProcessNewsvan()
{ {
if ( GetStatus() == STATUS_PLAYER ) if ( GetStatus() == STATUS_PLAYER || GetStatus() == STATUS_PHYSICS || GetStatus() == STATUS_SIMPLE )
{ {
// TODO: Point at something? Like nearest collectable or safehouse // TODO: Point at something? Like nearest collectable or safehouse
m_fGunOrientation += CTimer::m_fTimeStep * 0.05f; m_fGunOrientation += CTimer::m_fTimeStep * 0.05f;