1
0
Fork 0

More gcc warnings fixed.

This commit is contained in:
madmaxoft 2014-02-11 11:56:29 +01:00
parent 2559aa58f4
commit 892c7eb57f
2 changed files with 5 additions and 4 deletions

View File

@ -248,11 +248,11 @@ cWorld::cWorld(const AString & a_WorldName) :
m_SkyDarkness(0),
m_Weather(eWeather_Sunny),
m_WeatherInterval(24000), // Guaranteed 1 day of sunshine at server start :)
m_bCommandBlocksEnabled(false),
m_bUseChatPrefixes(true),
m_Scoreboard(this),
m_GeneratorCallbacks(*this),
m_TickThread(*this),
m_bCommandBlocksEnabled(false),
m_bUseChatPrefixes(true)
m_TickThread(*this)
{
LOGD("cWorld::cWorld(\"%s\")", a_WorldName.c_str());

View File

@ -803,6 +803,7 @@ private:
/** Whether command blocks are enabled or not */
bool m_bCommandBlocksEnabled;
/** Whether prefixes such as [INFO] are prepended to SendMessageXXX() / BroadcastChatXXX() functions */
bool m_bUseChatPrefixes;
@ -846,7 +847,7 @@ private:
cWorld(const AString & a_WorldName);
~cWorld();
virtual ~cWorld();
void Tick(float a_Dt, int a_LastTickDurationMSec);