summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfhumann <j.f.humann@gmail.com>2014-04-18 22:47:59 +0200
committerjfhumann <j.f.humann@gmail.com>2014-04-18 22:47:59 +0200
commit5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17 (patch)
tree365677bf135442f15371ef77cc0ee3f378fd8f4b
parentSmall style changes (diff)
downloadcuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.gz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.bz2
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.lz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.xz
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.tar.zst
cuberite-5bed1c09bc239f0b5c7b31945c4ee3e5b94cdf17.zip
-rw-r--r--src/Chunk.h2
-rw-r--r--src/Items/ItemHandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Chunk.h b/src/Chunk.h
index 774770028..f20134e66 100644
--- a/src/Chunk.h
+++ b/src/Chunk.h
@@ -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)
{
}
} ;
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h
index 686f4b439..f3d78335e 100644
--- a/src/Items/ItemHandler.h
+++ b/src/Items/ItemHandler.h
@@ -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)
{
}