summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-05 18:43:49 +0100
commit8ba6f731699465aa13818e307af7b9f001d3767e (patch)
treebb24c8cc1e076b7cc8457dc4a639726b5df1515b /src/Entities/Minecart.cpp
parentFix gcc not having operator ++ on enums (diff)
downloadcuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.gz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.bz2
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.lz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.xz
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.tar.zst
cuberite-8ba6f731699465aa13818e307af7b9f001d3767e.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp
index a650927b1..d854906b7 100644
--- a/src/Entities/Minecart.cpp
+++ b/src/Entities/Minecart.cpp
@@ -24,11 +24,11 @@ class cMinecartCollisionCallback :
{
public:
cMinecartCollisionCallback(Vector3d a_Pos, double a_Height, double a_Width, int a_UniqueID, int a_AttacheeUniqueID) :
+ m_DoesInteserct(false),
+ m_CollidedEntityPos(0, 0, 0),
m_Pos(a_Pos),
m_Height(a_Height),
m_Width(a_Width),
- m_DoesInteserct(false),
- m_CollidedEntityPos(0, 0, 0),
m_UniqueID(a_UniqueID),
m_AttacheeUniqueID(a_AttacheeUniqueID)
{
@@ -1057,8 +1057,8 @@ void cMinecartWithChest::OnRightClicked(cPlayer & a_Player)
cMinecartWithFurnace::cMinecartWithFurnace(double a_X, double a_Y, double a_Z) :
super(mpFurnace, a_X, a_Y, a_Z),
- m_IsFueled(false),
- m_FueledTimeLeft(-1)
+ m_FueledTimeLeft(-1),
+ m_IsFueled(false)
{
}
@@ -1137,4 +1137,4 @@ cMinecartWithHopper::cMinecartWithHopper(double a_X, double a_Y, double a_Z) :
}
// TODO: Make it suck up blocks and travel further than any other cart and physics and put and take blocks
-// AND AVARYTHING!! \ No newline at end of file
+// AND AVARYTHING!!