summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_SpawnMob.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_SpawnMob.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/source/packets/cPacket_SpawnMob.h b/source/packets/cPacket_SpawnMob.h
index bc7fbe235..9661da771 100644
--- a/source/packets/cPacket_SpawnMob.h
+++ b/source/packets/cPacket_SpawnMob.h
@@ -2,18 +2,14 @@
#pragma once
#include "cPacket.h"
+#include "../Vector3i.h"
-class Vector3i;
-
-
-
-
-
-class cPacket_SpawnMob : public cPacket
+class cPacket_SpawnMob :
+ public cPacket
{
public:
cPacket_SpawnMob();
@@ -23,15 +19,15 @@ public:
virtual void Serialize(AString & a_Data) const override;
- int m_UniqueID;
- char m_Type;
- Vector3i* m_Pos;
- char m_Yaw;
- char m_Pitch;
- char m_HeadYaw;
+ int m_UniqueID;
+ char m_Type;
+ Vector3i m_Pos;
+ char m_Yaw;
+ char m_Pitch;
+ char m_HeadYaw;
unsigned int m_MetaDataSize;
- char * m_MetaData;
+ char * m_MetaData;
};