mirror of
https://github.com/halpz/re3.git
synced 2026-01-20 06:29:40 +00:00
Fix inverted vertical camera
This commit is contained in:
@@ -3222,6 +3222,9 @@ int16 CPad::SniperModeLookUpDown(void)
|
||||
int16 axis = NewState.LeftStickY;
|
||||
int16 dpad;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
axis = -axis;
|
||||
#endif
|
||||
if (CPad::bInvertLook4Pad) {
|
||||
axis = -axis;
|
||||
dpad = (NewState.DPadDown - NewState.DPadUp) / 2;
|
||||
@@ -3257,7 +3260,9 @@ int16 CPad::LookAroundLeftRight(void)
|
||||
int16 CPad::LookAroundUpDown(void)
|
||||
{
|
||||
int16 axis = GetPad(0)->NewState.RightStickY;
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
axis = -axis;
|
||||
#endif
|
||||
if (CPad::bInvertLook4Pad)
|
||||
axis = -axis;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user