summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-29 16:21:02 +0100
committerSergeanur <s.anureev@yandex.ua>2019-10-29 16:21:02 +0100
commitd84033a710d63f45ece97bf690ddafe5ed64cd0f (patch)
tree538650d4bd4bd050548530a32e5bd8c583c8cf98 /src/core/Pad.cpp
parentSome fixes for cAudioManager::SetupSuspectLastSeenReport (diff)
downloadre3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar.gz
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar.bz2
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar.lz
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar.xz
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.tar.zst
re3-d84033a710d63f45ece97bf690ddafe5ed64cd0f.zip
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r--src/core/Pad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index f334a255..e5178ef3 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -1855,7 +1855,7 @@ char *CPad::EditString(char *pStr, int32 nSize)
}
// extenter/up/down
- if ( GetPad(0)->GetEnterJustDown() || GetPad(0)->GetUpJustDown() || GetPad(0)->GetDownJustDown() )
+ if ( GetPad(0)->GetReturnJustDown() || GetPad(0)->GetUpJustDown() || GetPad(0)->GetDownJustDown() )
return nil;
return pStr;
@@ -1976,7 +1976,7 @@ int32 *CPad::EditCodesForControls(int32 *pRsKeys, int32 nSize)
if ( GetPad(0)->GetCapsLockJustDown() )
*pRsKeys = rsCAPSLK;
- if ( GetPad(0)->GetEnterJustDown() )
+ if ( GetPad(0)->GetReturnJustDown() )
*pRsKeys = rsENTER;
if ( GetPad(0)->GetLeftShiftJustDown() )