mirror of
https://github.com/halpz/re3.git
synced 2025-06-27 19:46:20 +00:00
bla
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user