Merge pull request #857 from majesticCoding/miami

skimmer shadow
This commit is contained in:
aap 2020-12-01 11:24:24 +01:00 committed by GitHub
commit 8de7072720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@
#include "AnimBlendAssociation.h" #include "AnimBlendAssociation.h"
#include "RpAnimBlend.h" #include "RpAnimBlend.h"
#include "Record.h" #include "Record.h"
#include "Shadows.h"
//--MIAMI: file done //--MIAMI: file done
@ -1006,7 +1007,7 @@ CBoat::PreRender(void)
if(atomic) if(atomic)
SetComponentAtomicAlpha(atomic, Max(150-alpha, 0)); 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 || }else if(GetModelIndex() == MI_COASTG || GetModelIndex() == MI_DINGHY || GetModelIndex() == MI_RIO ||
GetModelIndex() == MI_SQUALO || GetModelIndex() == MI_MARQUIS){ GetModelIndex() == MI_SQUALO || GetModelIndex() == MI_MARQUIS){
if(m_aBoatNodes[BOAT_RUDDER]){ if(m_aBoatNodes[BOAT_RUDDER]){