[saco] Match GameSetRemotePlayerCameraExtZoom(...)

This commit is contained in:
RD42 2024-11-03 17:30:37 +08:00
parent 10f79b7bde
commit 414629e296

View File

@ -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];