diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-07-29 11:17:53 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2020-07-29 11:17:53 +0200 |
commit | 1803dcc873df329282adab46e1d42baa4b6ee45b (patch) | |
tree | d78ac699caa9124338701a5e413b70379204c8a3 /src/vehicles/Automobile.cpp | |
parent | NULL->nil (diff) | |
download | re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar.gz re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar.bz2 re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar.lz re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar.xz re3-1803dcc873df329282adab46e1d42baa4b6ee45b.tar.zst re3-1803dcc873df329282adab46e1d42baa4b6ee45b.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 925bc884..b643e336 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(); |