mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Merge branch 'patch'
This commit is contained in:
commit
9ba00037e5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue