mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Update CGame::UpdateFarClippingPlane()
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user