summaryrefslogtreecommitdiffstats
path: root/src/Entities/Boat.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-01 21:05:45 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-01 21:05:45 +0200
commitdfed6f94ca78f2e104ed316d83400b0ca74cb79a (patch)
treed00547328b70bbb4a4ea5d713f6ffe8e3a48ee12 /src/Entities/Boat.cpp
parentAdded CustomName to cMonster. (diff)
downloadcuberite-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 'src/Entities/Boat.cpp')
-rw-r--r--src/Entities/Boat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/Boat.cpp b/src/Entities/Boat.cpp
index 8ff8866a1..328a70846 100644
--- a/src/Entities/Boat.cpp
+++ b/src/Entities/Boat.cpp
@@ -62,6 +62,8 @@ bool cBoat::DoTakeDamage(TakeDamageInfo & TDI)
void cBoat::OnRightClicked(cPlayer & a_Player)
{
+ super::OnRightClicked(a_Player);
+
if (m_Attachee != NULL)
{
if (m_Attachee->GetUniqueID() == a_Player.GetUniqueID())