diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-20 22:54:22 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-20 22:54:22 +0200 |
commit | 510261cb058d00bc0388ad58a33b173e5b1536ac (patch) | |
tree | 2aa795fe25f5d3bc4fa22d93f7a966838e50b3b5 /src/vehicles/Automobile.cpp | |
parent | script revision (diff) | |
parent | Pickup and audio fix (diff) | |
download | re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.gz re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.bz2 re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.lz re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.xz re3-510261cb058d00bc0388ad58a33b173e5b1536ac.tar.zst re3-510261cb058d00bc0388ad58a33b173e5b1536ac.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r-- | src/vehicles/Automobile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index ae78c93e..e260df93 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -3098,11 +3098,11 @@ CAutomobile::DoDriveByShootings(void) // TODO: what is this? if(!lookingLeft && m_weaponDoorTimerLeft > 0.0f){ m_weaponDoorTimerLeft = Max(m_weaponDoorTimerLeft - CTimer::GetTimeStep()*0.1f, 0.0f); - ProcessOpenDoor(CAR_DOOR_LF, NUM_ANIMS, m_weaponDoorTimerLeft); + ProcessOpenDoor(CAR_DOOR_LF, NUM_STD_ANIMS, m_weaponDoorTimerLeft); } if(!lookingRight && m_weaponDoorTimerRight > 0.0f){ m_weaponDoorTimerRight = Max(m_weaponDoorTimerRight - CTimer::GetTimeStep()*0.1f, 0.0f); - ProcessOpenDoor(CAR_DOOR_RF, NUM_ANIMS, m_weaponDoorTimerRight); + ProcessOpenDoor(CAR_DOOR_RF, NUM_STD_ANIMS, m_weaponDoorTimerRight); } } @@ -3787,7 +3787,7 @@ CAutomobile::ProcessOpenDoor(uint32 component, uint32 anim, float time) case ANIM_VAN_GETOUT: ProcessDoorOpenAnimation(this, component, door, time, 0.5f, 0.6f); break; - case NUM_ANIMS: + case NUM_STD_ANIMS: OpenDoor(component, door, time); break; } |