Fix compile error on OS X introduced by commit ecf778bbec
The following error occurs on OS X with the order reversed: `MCServer/src/World.cpp:282:2: error: field 'm_LastSave' will be initialized after field 'm_LastUnload' [-Werror,-Wreorder] m_LastSave(0),`. Reversing the order of initialization fixes this.
This commit is contained in:
parent
ae8c871565
commit
fbd0cf74bd
@ -279,8 +279,8 @@ cWorld::cWorld(const AString & a_WorldName, eDimension a_Dimension, const AStrin
|
|||||||
m_WorldAge(0),
|
m_WorldAge(0),
|
||||||
m_TimeOfDay(0),
|
m_TimeOfDay(0),
|
||||||
m_LastTimeUpdate(0),
|
m_LastTimeUpdate(0),
|
||||||
m_LastSave(0),
|
|
||||||
m_LastUnload(0),
|
m_LastUnload(0),
|
||||||
|
m_LastSave(0),
|
||||||
m_SkyDarkness(0),
|
m_SkyDarkness(0),
|
||||||
m_GameMode(gmNotSet),
|
m_GameMode(gmNotSet),
|
||||||
m_bEnabledPVP(false),
|
m_bEnabledPVP(false),
|
||||||
|
Loading…
Reference in New Issue
Block a user