diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-14 15:44:09 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-14 15:44:09 +0200 |
commit | 958e2f36bb3327ff9bbadfa3a41e289f1405ba84 (patch) | |
tree | 2bda854f90c4c915fbdcd4c2bcc855c106b15b9e /src/control/Script.cpp | |
parent | Revert "map memory usage high default" (diff) | |
download | re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar.gz re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar.bz2 re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar.lz re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar.xz re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.tar.zst re3-958e2f36bb3327ff9bbadfa3a41e289f1405ba84.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 49a33600..a2dd8512 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -3092,7 +3092,13 @@ int8 CRunningScript::ProcessCommands200To299(int32 command) UpdateCompareFlag(pPed->OurPedCanSeeThisOne(CWorld::Players[ScriptParams[1]].m_pPed)); return 0; } +#ifdef SUPPORT_GINPUT_SCRIPT + case COMMAND_HAS_PAD_IN_HANDS: + UpdateCompareFlag(CPad::GetPad(0)->IsAffectedByController); + return 0; +#else //case COMMAND_ORDER_CHAR_TO_BACKDOOR: +#endif //case COMMAND_ADD_CHAR_TO_GANG: case COMMAND_IS_CHAR_OBJECTIVE_PASSED: { |