mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Match GameSetRemotePlayerCameraExtZoom(...)
This commit is contained in:
parent
10f79b7bde
commit
414629e296
@ -68,7 +68,7 @@ float __stdcall GameGetLocalPlayerCameraExtZoom()
|
|||||||
void __stdcall GameSetRemotePlayerCameraExtZoom(BYTE bytePlayerID)
|
void __stdcall GameSetRemotePlayerCameraExtZoom(BYTE bytePlayerID)
|
||||||
{
|
{
|
||||||
float fZoom = fCameraExtZoom[bytePlayerID];
|
float fZoom = fCameraExtZoom[bytePlayerID];
|
||||||
float fValue = fZoom * 35.0f + 35.0f; // unnormalize for 35.0 to 70.0
|
float fValue = (fZoom * 35.0f) + 35.0f; // unnormalize for 35.0 to 70.0
|
||||||
*pfCameraExtZoom = fValue;
|
*pfCameraExtZoom = fValue;
|
||||||
|
|
||||||
float fRatio = fAspectRatio[bytePlayerID];
|
float fRatio = fAspectRatio[bytePlayerID];
|
||||||
|
Loading…
Reference in New Issue
Block a user