More gcc warnings fixed.
This commit is contained in:
parent
2559aa58f4
commit
892c7eb57f
@ -248,11 +248,11 @@ cWorld::cWorld(const AString & a_WorldName) :
|
|||||||
m_SkyDarkness(0),
|
m_SkyDarkness(0),
|
||||||
m_Weather(eWeather_Sunny),
|
m_Weather(eWeather_Sunny),
|
||||||
m_WeatherInterval(24000), // Guaranteed 1 day of sunshine at server start :)
|
m_WeatherInterval(24000), // Guaranteed 1 day of sunshine at server start :)
|
||||||
|
m_bCommandBlocksEnabled(false),
|
||||||
|
m_bUseChatPrefixes(true),
|
||||||
m_Scoreboard(this),
|
m_Scoreboard(this),
|
||||||
m_GeneratorCallbacks(*this),
|
m_GeneratorCallbacks(*this),
|
||||||
m_TickThread(*this),
|
m_TickThread(*this)
|
||||||
m_bCommandBlocksEnabled(false),
|
|
||||||
m_bUseChatPrefixes(true)
|
|
||||||
{
|
{
|
||||||
LOGD("cWorld::cWorld(\"%s\")", a_WorldName.c_str());
|
LOGD("cWorld::cWorld(\"%s\")", a_WorldName.c_str());
|
||||||
|
|
||||||
|
@ -803,6 +803,7 @@ private:
|
|||||||
|
|
||||||
/** Whether command blocks are enabled or not */
|
/** Whether command blocks are enabled or not */
|
||||||
bool m_bCommandBlocksEnabled;
|
bool m_bCommandBlocksEnabled;
|
||||||
|
|
||||||
/** Whether prefixes such as [INFO] are prepended to SendMessageXXX() / BroadcastChatXXX() functions */
|
/** Whether prefixes such as [INFO] are prepended to SendMessageXXX() / BroadcastChatXXX() functions */
|
||||||
bool m_bUseChatPrefixes;
|
bool m_bUseChatPrefixes;
|
||||||
|
|
||||||
@ -846,7 +847,7 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
cWorld(const AString & a_WorldName);
|
cWorld(const AString & a_WorldName);
|
||||||
~cWorld();
|
virtual ~cWorld();
|
||||||
|
|
||||||
void Tick(float a_Dt, int a_LastTickDurationMSec);
|
void Tick(float a_Dt, int a_LastTickDurationMSec);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user