diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-04 19:03:31 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-04 19:03:31 +0100 |
commit | 601f77b5c818d870146d829137e83a62cc7b36b9 (patch) | |
tree | be3094ffee8685eef15e969f93fc60acb45d8be0 /src/control/Script6.cpp | |
parent | fix (diff) | |
parent | Double the volume for mission audio in OAL + small fix (diff) | |
download | re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar.gz re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar.bz2 re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar.lz re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar.xz re3-601f77b5c818d870146d829137e83a62cc7b36b9.tar.zst re3-601f77b5c818d870146d829137e83a62cc7b36b9.zip |
Diffstat (limited to 'src/control/Script6.cpp')
-rw-r--r-- | src/control/Script6.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script6.cpp b/src/control/Script6.cpp index 501a7873..b9ec31ee 100644 --- a/src/control/Script6.cpp +++ b/src/control/Script6.cpp @@ -1191,7 +1191,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command) CollectParameters(&m_nIp, 8); CPed *pPed = CPools::GetPedPool()->GetAt(ScriptParams[0]); CVehicle *pVehicle = CPools::GetVehiclePool()->GetAt(ScriptParams[1]); - pPed->AttachPedToEntity(pVehicle, *(CVector*)&ScriptParams[2], ScriptParams[5], DEGTORAD(ScriptParams[6]), (eWeaponType)ScriptParams[7]); + pPed->AttachPedToEntity(pVehicle, *(CVector*)&ScriptParams[2], ScriptParams[5], DEGTORAD(*(float*)&ScriptParams[6]), (eWeaponType)ScriptParams[7]); return 0; } case COMMAND_DETACH_CHAR_FROM_CAR: |