summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-02 12:28:23 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-02 12:42:49 +0100
commit30bc51ae9e038ddde59479e81c4731c421798dd0 (patch)
tree7649ac8b6920a2648f3065c15012c9acebe03b82 /src/core/Pad.cpp
parentCVarConsole (diff)
downloadre3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar.gz
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar.bz2
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar.lz
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar.xz
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.tar.zst
re3-30bc51ae9e038ddde59479e81c4731c421798dd0.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 4a78e834..feda19c6 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1692,12 +1692,11 @@ void CPad::UpdatePads(void)
bUpdate = false;
if ( bUpdate )
- {
GetPad(0)->Update(0);
- // GetPad(1)->Update(0); // not in VC
- }
-#if defined(MASTER) && !defined(XINPUT)
+#ifndef MASTER
+ GetPad(1)->Update(1);
+#else
GetPad(1)->NewState.Clear();
GetPad(1)->OldState.Clear();
#endif