1
0

Code improvements

Fixed authentication (Can be activated now)
Added MersenneTwister.h
Thanks to mtilden
( http://forum.mc-server.org/showthread.php?tid=183&pid=1428#pid1428 and http://forum.mc-server.org/showthread.php?tid=183&pid=1418#pid1418 )

git-svn-id: http://mc-server.googlecode.com/svn/trunk@106 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
lapayo94@gmail.com
2011-12-25 13:44:22 +00:00
parent 81c73341b2
commit d0a7f9a57d
9 changed files with 495 additions and 15 deletions

View File

@@ -1220,6 +1220,7 @@ void cClientHandle::Tick(float a_Dt)
LoginResponse.m_ServerMode = m_Player->GetGameMode(); //set gamemode from player.
LoginResponse.m_MapSeed = 0;
LoginResponse.m_Dimension = 0;
LoginResponse.m_MaxPlayers = (unsigned char)cRoot::Get()->GetWorld()->GetMaxPlayers();
Send( LoginResponse );
// Send Weather if raining: