mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:25:41 +00:00
Fix COMMAND_GET_CONTROLLER_MODE
This commit is contained in:
parent
ba8aa38654
commit
fc85bb710b
1 changed files with 4 additions and 0 deletions
|
@ -5250,7 +5250,11 @@ int8 CRunningScript::ProcessCommands600To699(int32 command)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case COMMAND_GET_CONTROLLER_MODE:
|
case COMMAND_GET_CONTROLLER_MODE:
|
||||||
|
#if defined(GTA_PC) && !defined(DETECT_PAD_INPUT_SWITCH)
|
||||||
ScriptParams[0] = 0;
|
ScriptParams[0] = 0;
|
||||||
|
#else
|
||||||
|
ScriptParams[0] = CPad::GetPad(0)->Mode;
|
||||||
|
#endif
|
||||||
StoreParameters(&m_nIp, 1);
|
StoreParameters(&m_nIp, 1);
|
||||||
return 0;
|
return 0;
|
||||||
case COMMAND_SET_CAN_RESPRAY_CAR:
|
case COMMAND_SET_CAN_RESPRAY_CAR:
|
||||||
|
|
Loading…
Reference in a new issue