summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Pickups.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index 8c2014d6..5b51a52a 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -1,7 +1,7 @@
#pragma once
#include "Weapon.h"
-enum ePickupType
+enum ePickupType : uint8
{
PICKUP_NONE = 0,
PICKUP_IN_SHOP = 1,
@@ -25,7 +25,8 @@ class CObject;
class CPickup
{
- ePickupType m_eType;
+ ePickupType m_eType;
+ bool m_bRemoved;
uint16 m_wQuantity;
CObject *m_pObject;
uint32 m_nTimer;
@@ -34,6 +35,8 @@ class CPickup
CVector m_vecPos;
};
+static_assert(sizeof(CPickup) == 0x1C, "CPickup: error");
+
class CPickups
{
public: