summaryrefslogtreecommitdiffstats
path: root/src/objects/Stinger.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-09-01 20:10:35 +0200
committereray orçunus <erayorcunus@gmail.com>2020-09-01 20:10:35 +0200
commit16e10d788a12b12300c2232eeb5513b6df5233b5 (patch)
treeb98206f10d38401b3124e9d1249f8feb33307ade /src/objects/Stinger.h
parentMerge pull request #700 from Sergeanur/VC/Stinger (diff)
downloadre3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar.gz
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar.bz2
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar.lz
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar.xz
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.tar.zst
re3-16e10d788a12b12300c2232eeb5513b6df5233b5.zip
Diffstat (limited to '')
-rw-r--r--src/objects/Stinger.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/objects/Stinger.h b/src/objects/Stinger.h
index d1b57ce7..250cf62d 100644
--- a/src/objects/Stinger.h
+++ b/src/objects/Stinger.h
@@ -11,16 +11,17 @@ public:
#define NUM_STINGER_SEGMENTS (12)
+enum {
+ STINGERSTATE_NONE = 0,
+ STINGERSTATE_DEPLOYING,
+ STINGERSTATE_DEPLOYED,
+ STINGERSTATE_UNDEPLOYING,
+ STINGERSTATE_REMOVE,
+};
+
class CStinger
{
- enum {
- STINGERSTATE_NONE = 0,
- STINGERSTATE_DEPLOYING,
- STINGERSTATE_DEPLOYED,
- STINGERSTATE_UNDEPLOYING,
- STINGERSTATE_REMOVE,
- };
-
+public:
bool bIsDeployed;
uint32 m_nTimeOfDeploy;
CVector m_vPos;
@@ -30,7 +31,6 @@ class CStinger
CStingerSegment *pSpikes[NUM_STINGER_SEGMENTS];
class CPed *pOwner;
uint8 m_nSpikeState;
-public:
CStinger();
void Init(CPed *pPed);
void Remove();