summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-12-01 11:24:24 +0100
committerGitHub <noreply@github.com>2020-12-01 11:24:24 +0100
commit8de707272023f840a7e8dd78fcaea19d5482f933 (patch)
tree2fd57acc36ec6a99f7dc8d5ae209c86b37fd4d7b /src/vehicles
parentplane fix (diff)
parentskimmer shadow (diff)
downloadre3-8de707272023f840a7e8dd78fcaea19d5482f933.tar
re3-8de707272023f840a7e8dd78fcaea19d5482f933.tar.gz
re3-8de707272023f840a7e8dd78fcaea19d5482f933.tar.bz2
re3-8de707272023f840a7e8dd78fcaea19d5482f933.tar.lz
re3-8de707272023f840a7e8dd78fcaea19d5482f933.tar.xz
re3-8de707272023f840a7e8dd78fcaea19d5482f933.tar.zst
re3-8de707272023f840a7e8dd78fcaea19d5482f933.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Boat.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 14abbfc6..feaa80de 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -26,6 +26,7 @@
#include "AnimBlendAssociation.h"
#include "RpAnimBlend.h"
#include "Record.h"
+#include "Shadows.h"
//--MIAMI: file done
@@ -1006,7 +1007,7 @@ CBoat::PreRender(void)
if(atomic)
SetComponentAtomicAlpha(atomic, Max(150-alpha, 0));
}
- //CShadows::StoreShadowForVehicle(this);
+ CShadows::StoreShadowForVehicle(this, VEH_SHD_TYPE_SEAPLANE);
}else if(GetModelIndex() == MI_COASTG || GetModelIndex() == MI_DINGHY || GetModelIndex() == MI_RIO ||
GetModelIndex() == MI_SQUALO || GetModelIndex() == MI_MARQUIS){
if(m_aBoatNodes[BOAT_RUDDER]){