summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Login.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_Login.h')
-rw-r--r--source/packets/cPacket_Login.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/packets/cPacket_Login.h b/source/packets/cPacket_Login.h
index 812893d54..81c8af39b 100644
--- a/source/packets/cPacket_Login.h
+++ b/source/packets/cPacket_Login.h
@@ -10,7 +10,7 @@ public:
cPacket_Login()
: m_ProtocolVersion( 0 )
, m_MapSeed( 0 )
- , m_ServerMode( 1 ) //0 for survival, 1 for creative
+ , m_ServerMode( GAMEMODE ) //0 for survival, 1 for creative
, m_Dimension( 0 )
, m_Difficulty( 0 )
, m_WorldHeight( 0 )