Rotate Newsvan antenna in more cases than just when player is using it

This commit is contained in:
Silent 2018-05-23 00:28:21 +02:00
parent deb74e0249
commit bb7c94d2c5
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -590,7 +590,7 @@ void CAutomobile::ProcessSweeper()
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
m_fGunOrientation += CTimer::m_fTimeStep * 0.05f;