summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-20 19:55:05 +0200
committerGitHub <noreply@github.com>2020-05-20 19:55:05 +0200
commit71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3 (patch)
treebcdf3151eaab37430d9aeac886a55acbe7f65ccd /src/vehicles
parentMerge remote-tracking branch 'origin/master' into miami (diff)
parentFixes for melees and various things (diff)
downloadre3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.gz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.bz2
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.lz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.xz
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.tar.zst
re3-71b9b2ecf97bdd7d6813a11ca2df2dafba89f4b3.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Automobile.cpp6
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;
}