mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 18:34:09 +00:00
Small CPad fixes
This commit is contained in:
parent
d9c96a76fb
commit
d84033a710
5 changed files with 14 additions and 12 deletions
|
@ -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() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue