diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 20:19:28 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 20:19:28 +0200 |
commit | 7ce09a9113d693b85fdda13b3c04a8b8eb900153 (patch) | |
tree | 49c3c3742cff4c38a33bd5014dd9c57c0dcea71c /src/Entities/Minecart.cpp | |
parent | Merge remote-tracking branch 'origin/master' into chestcarts (diff) | |
download | cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar.gz cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar.bz2 cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar.lz cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar.xz cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.tar.zst cuberite-7ce09a9113d693b85fdda13b3c04a8b8eb900153.zip |
Diffstat (limited to 'src/Entities/Minecart.cpp')
-rw-r--r-- | src/Entities/Minecart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 42ac57a07..c5e1c07d5 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -7,7 +7,6 @@ #include "Globals.h" #include "Minecart.h" -#include "../World.h" #include "../ClientHandle.h" #include "../Chunk.h" #include "Player.h" @@ -1107,7 +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) + m_Contents(ContentsWidth, ContentsHeight), + cEntityWindowOwner(this) { m_Contents.AddListener(*this); } |