mirror of
https://github.com/GTAmodding/re3.git
synced 2021-02-19 17:49:54 +01:00
Fix CPickup
This commit is contained in:
parent
1f7008ffd3
commit
9149367f86
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Weapon.h"
|
#include "Weapon.h"
|
||||||
|
|
||||||
enum ePickupType
|
enum ePickupType : uint8
|
||||||
{
|
{
|
||||||
PICKUP_NONE = 0,
|
PICKUP_NONE = 0,
|
||||||
PICKUP_IN_SHOP = 1,
|
PICKUP_IN_SHOP = 1,
|
||||||
@ -26,6 +26,7 @@ class CObject;
|
|||||||
class CPickup
|
class CPickup
|
||||||
{
|
{
|
||||||
ePickupType m_eType;
|
ePickupType m_eType;
|
||||||
|
bool m_bRemoved;
|
||||||
uint16 m_wQuantity;
|
uint16 m_wQuantity;
|
||||||
CObject *m_pObject;
|
CObject *m_pObject;
|
||||||
uint32 m_nTimer;
|
uint32 m_nTimer;
|
||||||
@ -34,6 +35,8 @@ class CPickup
|
|||||||
CVector m_vecPos;
|
CVector m_vecPos;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static_assert(sizeof(CPickup) == 0x1C, "CPickup: error");
|
||||||
|
|
||||||
class CPickups
|
class CPickups
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user