mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
Fix COMMAND_GET_CONTROLLER_MODE
This commit is contained in:
parent
ba8aa38654
commit
fc85bb710b
@ -5250,7 +5250,11 @@ int8 CRunningScript::ProcessCommands600To699(int32 command)
|
||||
return 0;
|
||||
}
|
||||
case COMMAND_GET_CONTROLLER_MODE:
|
||||
#if defined(GTA_PC) && !defined(DETECT_PAD_INPUT_SWITCH)
|
||||
ScriptParams[0] = 0;
|
||||
#else
|
||||
ScriptParams[0] = CPad::GetPad(0)->Mode;
|
||||
#endif
|
||||
StoreParameters(&m_nIp, 1);
|
||||
return 0;
|
||||
case COMMAND_SET_CAN_RESPRAY_CAR:
|
||||
|
Loading…
Reference in New Issue
Block a user