summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-28 14:11:41 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-28 14:11:41 +0200
commita9243257e583ae22d7a27f6439f6eb973f7e11ce (patch)
treef9526a0fc87f64dd10fa3f414736009210bb2192 /src/Entities/Minecart.cpp
parentSuggestions (diff)
downloadcuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.gz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.bz2
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.lz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.xz
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.tar.zst
cuberite-a9243257e583ae22d7a27f6439f6eb973f7e11ce.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Minecart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp
index c5e1c07d5..f45e7bb69 100644
--- a/src/Entities/Minecart.cpp
+++ b/src/Entities/Minecart.cpp
@@ -1106,8 +1106,8 @@ void cRideableMinecart::OnRightClicked(cPlayer & a_Player)
cMinecartWithChest::cMinecartWithChest(double a_X, double a_Y, double a_Z) :
super(mpChest, a_X, a_Y, a_Z),
- m_Contents(ContentsWidth, ContentsHeight),
- cEntityWindowOwner(this)
+ cEntityWindowOwner(this),
+ m_Contents(ContentsWidth, ContentsHeight)
{
m_Contents.AddListener(*this);
}