1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 12:40:00 +00:00

Fix COMMAND_GET_CONTROLLER_MODE

This commit is contained in:
Sergeanur 2020-05-02 19:39:26 +03:00
parent ba8aa38654
commit fc85bb710b

View file

@ -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: