mirror of
https://github.com/halpz/re3.git
synced 2025-04-30 01:57:57 +03:00
Add CURMODE macro
This commit is contained in:
parent
fc85bb710b
commit
d2712afc78
2 changed files with 59 additions and 109 deletions
|
@ -5253,7 +5253,7 @@ int8 CRunningScript::ProcessCommands600To699(int32 command)
|
|||
#if defined(GTA_PC) && !defined(DETECT_PAD_INPUT_SWITCH)
|
||||
ScriptParams[0] = 0;
|
||||
#else
|
||||
ScriptParams[0] = CPad::GetPad(0)->Mode;
|
||||
ScriptParams[0] = CPad::IsAffectedByController ? CPad::GetPad(0)->Mode : 0;
|
||||
#endif
|
||||
StoreParameters(&m_nIp, 1);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue