summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-03 22:32:31 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-03 22:32:31 +0200
commit679f7bbcfa72d47d465922f207ff325f6d205bfd (patch)
treec50be54b77559629ede7fe51857480bc967f5adf /src/control/Pickups.h
parentDrop w's (diff)
downloadre3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar.gz
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar.bz2
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar.lz
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar.xz
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.tar.zst
re3-679f7bbcfa72d47d465922f207ff325f6d205bfd.zip
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();
};