diff options
author | aap <aap@papnet.eu> | 2020-08-07 10:18:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 10:18:35 +0200 |
commit | 40185161b83091e79455acf6fe82f070e26c6662 (patch) | |
tree | 87ae90e9dc46c746d0a4819286ce1b965c3f91fa /src/vehicles/Automobile.cpp | |
parent | Merge pull request #668 from majesticCoding/miami (diff) | |
parent | Update CutsceneShadow.h (diff) | |
download | re3-40185161b83091e79455acf6fe82f070e26c6662.tar re3-40185161b83091e79455acf6fe82f070e26c6662.tar.gz re3-40185161b83091e79455acf6fe82f070e26c6662.tar.bz2 re3-40185161b83091e79455acf6fe82f070e26c6662.tar.lz re3-40185161b83091e79455acf6fe82f070e26c6662.tar.xz re3-40185161b83091e79455acf6fe82f070e26c6662.tar.zst re3-40185161b83091e79455acf6fe82f070e26c6662.zip |
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r-- | src/vehicles/Automobile.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index 3f329251..e06ce03b 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -2505,8 +2505,12 @@ CAutomobile::PreRender(void) // end of lights } -//TODO(MIAMI): StoreShadowForVehicle once we have it - CShadows::StoreShadowForCar(this); + if (IsRealHeli()) + CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_HELI); + else if ( GetModelIndex() == MI_RCBARON) + CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_RCPLANE); + else + CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_CAR); DoSunGlare(); |