mirror of
https://github.com/halpz/re3.git
synced 2025-07-17 09:28:16 +00:00
minimal weather stuff + multiple bugfixes
This commit is contained in:
@ -139,6 +139,8 @@ static float PitchToCamera;
|
||||
void
|
||||
CVisibilityPlugins::SetupVehicleVariables(RpClump *vehicle)
|
||||
{
|
||||
if (vehicle->object.type != rpCLUMP)
|
||||
return;
|
||||
DistToCameraSq = GetDistanceSquaredFromCamera(RpClumpGetFrame(vehicle));
|
||||
RwV3d distToCam;
|
||||
RwV3dSub(&distToCam, ms_pCameraPosn, &RwFrameGetMatrix(RpClumpGetFrame(vehicle))->pos);
|
||||
|
Reference in New Issue
Block a user