summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-12-01 08:52:35 +0100
committermajestic <majesticcoding@gmail.com>2020-12-01 08:52:35 +0100
commitcd23695116cf7c2f778514e3731859337ca8b4ce (patch)
treec2a5a175762125777ed16992ca07125742601b24 /src/vehicles/Boat.cpp
parentMake texture conversion work a bit faster (diff)
downloadre3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar.gz
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar.bz2
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar.lz
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar.xz
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.tar.zst
re3-cd23695116cf7c2f778514e3731859337ca8b4ce.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-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]){