Camera: fixed incorrect negative value
This commit is contained in:
@@ -1824,7 +1824,7 @@ CCam::WorkOutCamHeight(const CVector &TargetCoors, float TargetOrientation, floa
|
|||||||
PreviousNearCheckNearClipSmall = false;
|
PreviousNearCheckNearClipSmall = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
float TopAlphaSpeed = 0.15f;
|
float TopAlphaSpeed = 0.015f;
|
||||||
float AlphaSpeedStep = 0.015f;
|
float AlphaSpeedStep = 0.015f;
|
||||||
|
|
||||||
float zoomvalue = TheCamera.CarZoomValueSmooth;
|
float zoomvalue = TheCamera.CarZoomValueSmooth;
|
||||||
@@ -2592,7 +2592,7 @@ CCam::Process_M16_1stPerson(const CVector &CameraTarget, float, float, float)
|
|||||||
float LookLeftRight, LookUpDown;
|
float LookLeftRight, LookUpDown;
|
||||||
if(MouseX != 0.0f || MouseY != 0.0f){
|
if(MouseX != 0.0f || MouseY != 0.0f){
|
||||||
UseMouse = true;
|
UseMouse = true;
|
||||||
LookLeftRight = -m_fMultiHori*MouseX;
|
LookLeftRight = m_fMultiHori*MouseX;
|
||||||
LookUpDown = m_fMultiVert*MouseY;
|
LookUpDown = m_fMultiVert*MouseY;
|
||||||
}else{
|
}else{
|
||||||
LookLeftRight = -CPad::GetPad(0)->SniperModeLookLeftRight();
|
LookLeftRight = -CPad::GetPad(0)->SniperModeLookLeftRight();
|
||||||
|
|||||||
Reference in New Issue
Block a user