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 623464d45e
commit 9db2766fa0
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -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;