summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Respawn.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_Respawn.h')
-rw-r--r--source/packets/cPacket_Respawn.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/packets/cPacket_Respawn.h b/source/packets/cPacket_Respawn.h
index ab8fbe72a..a9a838167 100644
--- a/source/packets/cPacket_Respawn.h
+++ b/source/packets/cPacket_Respawn.h
@@ -2,6 +2,8 @@
#include "cPacket.h"
#include "PacketID.h"
+#include "cPacket_Login.h"
+#include <string>
class cPacket_Respawn : public cPacket
{
@@ -12,6 +14,7 @@ public:
, m_CreativeMode( 0 )
, m_WorldHeight( 0 )
, m_MapSeed( 0 )
+ , m_LevelType( cPacket_Login::LEVEL_TYPE_DEFAULT )
{ m_PacketID = E_RESPAWN; }
virtual cPacket* Clone() const { return new cPacket_Respawn( *this ); }
@@ -23,6 +26,7 @@ public:
char m_CreativeMode;
short m_WorldHeight;
long long m_MapSeed;
+ std::string m_LevelType;
- static const unsigned int c_Size = 1 + 1 + 1 + 1 + 2 + 8;
+ static const unsigned int c_Size = 1 + 1 + 1 + 1 + 2 + 8 + 2;
};