1
0

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:
madmaxoft@gmail.com 2012-10-19 20:51:46 +00:00
parent ee15bbcf5d
commit bd29042dcd
3 changed files with 2 additions and 21 deletions

View File

@ -19,9 +19,6 @@ Plugin=ChunkWorx
[HelpPlugin] [HelpPlugin]
ShowPluginNames=1 ShowPluginNames=1
[Physics]
Water=0
[Monsters] [Monsters]
AnimalsOn=0 AnimalsOn=0
AnimalSpawnInterval=10 AnimalSpawnInterval=10

View File

@ -34,16 +34,6 @@
extern bool g_bWaterPhysics;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// sSetBlock: // sSetBlock:

View File

@ -31,17 +31,13 @@
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>
extern "C" { extern "C" {
#include "zlib.h" #include "zlib.h"
} }
bool g_bWaterPhysics = false;
typedef std::list< cClientHandle* > ClientList; typedef std::list< cClientHandle* > ClientList;
@ -209,10 +205,8 @@ bool cServer::InitServer( int a_Port )
cIniFile IniFile("settings.ini"); cIniFile IniFile("settings.ini");
if (IniFile.ReadFile()) if (IniFile.ReadFile())
{ {
g_bWaterPhysics = IniFile.GetValueB("Physics", "Water", false );
m_pState->ServerID = "-"; m_pState->ServerID = "-";
if (IniFile.GetValueB("Authentication", "Authenticate")) if (IniFile.GetValueSetB("Authentication", "Authenticate", true))
{ {
MTRand mtrand1; MTRand mtrand1;
unsigned int r1 = (mtrand1.randInt()%1147483647) + 1000000000; unsigned int r1 = (mtrand1.randInt()%1147483647) + 1000000000;