1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 08:35:54 +00:00
This commit is contained in:
aap 2020-05-16 13:02:13 +02:00
parent 7b89baceaa
commit 793a6a6d7e

View file

@ -139,7 +139,7 @@ static float PitchToCamera;
void
CVisibilityPlugins::SetupVehicleVariables(RpClump *vehicle)
{
if (vehicle->object.type != rpCLUMP)
if (RwObjectGetType((RwObject*)vehicle) != rpCLUMP)
return;
DistToCameraSq = GetDistanceSquaredFromCamera(RpClumpGetFrame(vehicle));
RwV3d distToCam;