summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-21 18:48:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-21 18:48:13 +0200
commit632569cff3e109d2de69e5cd5df2c25d3a657a8d (patch)
tree08e6adb3750751aa418cc071693ceb14266a6b9c /src/control/Pickups.h
parentText and cross-platform fix (diff)
downloadre3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar.gz
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar.bz2
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar.lz
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar.xz
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.tar.zst
re3-632569cff3e109d2de69e5cd5df2c25d3a657a8d.zip
Diffstat (limited to '')
-rw-r--r--src/control/Pickups.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index b05f5db7..95eb6fbf 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -41,10 +41,9 @@ public:
CObject *GiveUsAPickUpObject(int32 handle);
bool Update(CPlayerPed *player, CVehicle *vehicle, int playerId);
private:
- bool IsMine() { return m_eType >= PICKUP_MINE_INACTIVE && m_eType <= PICKUP_FLOATINGPACKAGE_FLOATING; }
+ inline bool IsMine() { return m_eType >= PICKUP_MINE_INACTIVE && m_eType <= PICKUP_FLOATINGPACKAGE_FLOATING; }
inline bool CanBePickedUp(CPlayerPed *player);
- void RemoveKeepType();
- void Remove();
+ inline void Remove();
};
VALIDATE_SIZE(CPickup, 0x1C);