diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-01 21:05:45 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-01 21:05:45 +0200 |
commit | dfed6f94ca78f2e104ed316d83400b0ca74cb79a (patch) | |
tree | d00547328b70bbb4a4ea5d713f6ffe8e3a48ee12 /src/Entities/Minecart.cpp | |
parent | Added CustomName to cMonster. (diff) | |
download | cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar.gz cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar.bz2 cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar.lz cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar.xz cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.tar.zst cuberite-dfed6f94ca78f2e104ed316d83400b0ca74cb79a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Minecart.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 1501eea84..5fabbb542 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -1072,6 +1072,8 @@ cRideableMinecart::cRideableMinecart(double a_X, double a_Y, double a_Z, const c void cRideableMinecart::OnRightClicked(cPlayer & a_Player) { + super::OnRightClicked(a_Player); + if (m_Attachee != NULL) { if (m_Attachee->GetUniqueID() == a_Player.GetUniqueID()) @@ -1124,8 +1126,7 @@ void cMinecartWithChest::SetSlot(size_t a_Idx, const cItem & a_Item) void cMinecartWithChest::OnRightClicked(cPlayer & a_Player) { - // Show the chest UI window to the player - // TODO + // TODO: Show the chest UI window to the player } |