summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-17 23:03:43 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-17 23:03:43 +0200
commite9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d (patch)
tree9be2a2001756c45c7a14448554b8c2ff4759d238 /src/control/Script.cpp
parentPed, Weapon and fixes (diff)
downloadre3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar.gz
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar.bz2
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar.lz
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar.xz
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.tar.zst
re3-e9e533b0cba04a06b6ac9dfaddee2ea4fa19a72d.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index f90e7fb5..117e8f1d 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -9976,7 +9976,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
}
case COMMAND_GET_RANDOM_COP_IN_AREA:
{
- CollectParameters(&m_nIp, 4);
+ CollectParameters(&m_nIp, 9);
int ped_handle = -1;
CVector pos = FindPlayerCoors();
float x1 = *(float*)&ScriptParams[0];