mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Update CGame::UpdateFarClippingPlane()
This commit is contained in:
parent
9d80ae64b8
commit
a03988d085
@ -705,7 +705,7 @@ void CGame::UpdateFarClippingPlane()
|
||||
|
||||
if(pPlayerPed) {
|
||||
if(GetActiveInterior() == 0) {
|
||||
fFarClip = 1250.0f - (pPlayerPed->entity.mat->pos.Z + pPlayerPed->entity.mat->pos.Z);
|
||||
fFarClip = 1250.0f - (pPlayerPed->entity.mat->pos.Z * 2.0f);
|
||||
if(fFarClip < 700.0f) {
|
||||
fFarClip = 700.0f;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user