mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 05:48:59 +00:00
bla
This commit is contained in:
parent
7b89baceaa
commit
793a6a6d7e
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ static float PitchToCamera;
|
||||||
void
|
void
|
||||||
CVisibilityPlugins::SetupVehicleVariables(RpClump *vehicle)
|
CVisibilityPlugins::SetupVehicleVariables(RpClump *vehicle)
|
||||||
{
|
{
|
||||||
if (vehicle->object.type != rpCLUMP)
|
if (RwObjectGetType((RwObject*)vehicle) != rpCLUMP)
|
||||||
return;
|
return;
|
||||||
DistToCameraSq = GetDistanceSquaredFromCamera(RpClumpGetFrame(vehicle));
|
DistToCameraSq = GetDistanceSquaredFromCamera(RpClumpGetFrame(vehicle));
|
||||||
RwV3d distToCam;
|
RwV3d distToCam;
|
||||||
|
|
Loading…
Reference in a new issue