diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-20 18:39:16 +0100 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-01-20 18:39:16 +0100 |
commit | 7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b (patch) | |
tree | cde505c4726c53f67b168e7e4ce22007cc72ef1a /source/packets/cPacket_Respawn.h | |
parent | Terrain generation is synchronous again, async generation has bugs. (diff) | |
download | cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar.gz cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar.bz2 cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar.lz cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar.xz cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.tar.zst cuberite-7b840aa5d8c925f8ced6289a5ed3dde4a6f8e77b.zip |
Diffstat (limited to 'source/packets/cPacket_Respawn.h')
-rw-r--r-- | source/packets/cPacket_Respawn.h | 6 |
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;
};
|