summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:21 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-17 20:48:21 +0200
commitd5d2f6a822ecc655437c5121550db6d929508036 (patch)
tree52099518207632daf0376752a16b051350ef1e06 /src/control
parentsync with upstream (diff)
downloadre3-d5d2f6a822ecc655437c5121550db6d929508036.tar
re3-d5d2f6a822ecc655437c5121550db6d929508036.tar.gz
re3-d5d2f6a822ecc655437c5121550db6d929508036.tar.bz2
re3-d5d2f6a822ecc655437c5121550db6d929508036.tar.lz
re3-d5d2f6a822ecc655437c5121550db6d929508036.tar.xz
re3-d5d2f6a822ecc655437c5121550db6d929508036.tar.zst
re3-d5d2f6a822ecc655437c5121550db6d929508036.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Pickups.cpp10
-rw-r--r--src/control/Pickups.h2
2 files changed, 0 insertions, 12 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;
-}
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index 3971002c..810f3dff 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -94,8 +94,6 @@ public:
static void Load(uint8 *buf, uint32 size);
static void Save(uint8 *buf, uint32 *size);
- static bool TestForPickupsInBubble(CVector pos, float radius);
-
static CPickup aPickUps[NUMPICKUPS];
// unused