diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-17 21:48:21 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-17 21:48:21 +0300 |
commit | d5d2f6a822ecc655437c5121550db6d929508036 (patch) | |
tree | 52099518207632daf0376752a16b051350ef1e06 /src/control/Pickups.cpp | |
parent | 3cc20d7962c317aeb1e1e36e77ec270298b51cdb (diff) |
sync with upstream
Diffstat (limited to 'src/control/Pickups.cpp')
-rw-r--r-- | src/control/Pickups.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 02f2335d..01a28193 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -1458,13 +1458,3 @@ CPacManPickups::ResetPowerPillsCarriedByPlayer() FindPlayerVehicle()->m_fForceMultiplier = 1.0f; } } - -bool -CPickups::TestForPickupsInBubble(CVector pos, float radius) -{ - for (int i = 0; i < NUMPICKUPS; i++) { - if ((pos - aPickUps[i].m_vecPos).Magnitude() < radius) - return true; - } - return false; -} |