Fixed clang compilation errors. Apparently gcc and MSVC do not care about the order of initializer lists, but clang does.
This commit is contained in:
parent
fde1555352
commit
5bed1c09bc
@ -389,7 +389,7 @@ private:
|
||||
BLOCKTYPE m_PreviousType;
|
||||
|
||||
sSetBlockQueueItem(int a_RelX, int a_RelY, int a_RelZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Int64 a_Tick, BLOCKTYPE a_PreviousBlockType) :
|
||||
m_RelX(a_RelX), m_RelY(a_RelY), m_RelZ(a_RelZ), m_BlockType(a_BlockType), m_BlockMeta(a_BlockMeta), m_Tick(a_Tick), m_PreviousType(a_PreviousBlockType)
|
||||
m_Tick(a_Tick), m_RelX(a_RelX), m_RelY(a_RelY), m_RelZ(a_RelZ), m_BlockType(a_BlockType), m_BlockMeta(a_BlockMeta), m_PreviousType(a_PreviousBlockType)
|
||||
{
|
||||
}
|
||||
} ;
|
||||
|
@ -63,8 +63,8 @@ public:
|
||||
int PoisonChance; // 0 - 100, in percent. 0 = no chance of poisoning, 100 = sure poisoning
|
||||
|
||||
FoodInfo(int a_FoodLevel, double a_Saturation, int a_PoisonChance = 0) :
|
||||
FoodLevel(a_FoodLevel),
|
||||
Saturation(a_Saturation),
|
||||
FoodLevel(a_FoodLevel),
|
||||
PoisonChance(a_PoisonChance)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user