Removed unused [Physics].Water section from settings.ini.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@982 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -31,17 +31,13 @@
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
extern "C" {
|
||||
#include "zlib.h"
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool g_bWaterPhysics = false;
|
||||
|
||||
|
||||
typedef std::list< cClientHandle* > ClientList;
|
||||
|
||||
@@ -209,10 +205,8 @@ bool cServer::InitServer( int a_Port )
|
||||
cIniFile IniFile("settings.ini");
|
||||
if (IniFile.ReadFile())
|
||||
{
|
||||
g_bWaterPhysics = IniFile.GetValueB("Physics", "Water", false );
|
||||
|
||||
m_pState->ServerID = "-";
|
||||
if (IniFile.GetValueB("Authentication", "Authenticate"))
|
||||
if (IniFile.GetValueSetB("Authentication", "Authenticate", true))
|
||||
{
|
||||
MTRand mtrand1;
|
||||
unsigned int r1 = (mtrand1.randInt()%1147483647) + 1000000000;
|
||||
|
||||
Reference in New Issue
Block a user