summaryrefslogtreecommitdiff
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-03 23:32:31 +0300
committerSergeanur <s.anureev@yandex.ua>2019-10-03 23:32:31 +0300
commit679f7bbcfa72d47d465922f207ff325f6d205bfd (patch)
treec50be54b77559629ede7fe51857480bc967f5adf /src/control/Pickups.h
parent2cf94348f522802f423d8b6563491a4301db9b50 (diff)
Checks rewritten
Diffstat (limited to 'src/control/Pickups.h')
-rw-r--r--src/control/Pickups.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index 4bcbdfb5..b49a5544 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -42,6 +42,7 @@ public:
bool Update(CPlayerPed *player, CVehicle *vehicle, int playerId);
private:
bool IsMine() { return m_eType >= PICKUP_MINE_INACTIVE && m_eType <= PICKUP_FLOATINGPACKAGE_FLOATING; }
+ inline bool CanBePickedUp(CPlayerPed *player);
void RemoveKeepType();
void Remove();
};