Fix compile error on OS X introduced by commit ecf778bbec2794562bf5e5b8645e2171f7cd081c
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_TimeOfDay(0),
|
||||
m_LastTimeUpdate(0),
|
||||
m_LastSave(0),
|
||||
m_LastUnload(0),
|
||||
m_LastSave(0),
|
||||
m_SkyDarkness(0),
|
||||
m_GameMode(gmNotSet),
|
||||
m_bEnabledPVP(false),
|
||||
|
Loading…
x
Reference in New Issue
Block a user