summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-14 16:18:34 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-14 16:18:34 +0200
commit39d2c427e55a43bc836034a742bbcb89aef01fdc (patch)
tree1d620862aef42c8ded71c2ade454567e5616c890 /src/control/Script.cpp
parentfix (diff)
parentginput script (diff)
downloadre3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.gz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.bz2
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.lz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.xz
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.tar.zst
re3-39d2c427e55a43bc836034a742bbcb89aef01fdc.zip
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r--src/control/Script.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 0fa4de6b..1e76e509 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -3272,7 +3272,13 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
UpdateCompareFlag(pPed->OurPedCanSeeThisOne(CWorld::Players[GET_INTEGER_PARAM(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:
{