summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-12 21:03:44 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-12 21:03:44 +0200
commit1fed8e9482d18aaea0a11999b493996b0b28a2f3 (patch)
tree33b306c13d76fa955f33c118ee26cef2af7a65ed
parentMerge pull request #231 from Sergeanur/Restart (diff)
downloadre3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar.gz
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar.bz2
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar.lz
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar.xz
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.tar.zst
re3-1fed8e9482d18aaea0a11999b493996b0b28a2f3.zip
Diffstat (limited to '')
-rw-r--r--src/control/Pickups.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp
index 93d73121..3ba01e46 100644
--- a/src/control/Pickups.cpp
+++ b/src/control/Pickups.cpp
@@ -355,6 +355,7 @@ CPickup::Update(CPlayerPed *player, CVehicle *vehicle, int playerId)
if (vehicle != nil && vehicle->IsSphereTouchingVehicle(m_pObject->GetPosition().x, m_pObject->GetPosition().y, m_pObject->GetPosition().z, 2.0f)) {
Remove();
DMAudio.PlayFrontEndSound(SOUND_PICKUP_FLOAT_PACKAGE, 0);
+ return true;
}
break;
}