summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Horse.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/Horse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Horse.cpp b/src/Mobs/Horse.cpp
index bb688d035..9f0507b09 100644
--- a/src/Mobs/Horse.cpp
+++ b/src/Mobs/Horse.cpp
@@ -152,7 +152,7 @@ void cHorse::OnRightClicked(cPlayer & a_Player)
}
else
{
- a_Player.AttachTo(this);
+ a_Player.AttachTo(*this);
}
}
else if (a_Player.GetEquippedItem().IsEmpty())
@@ -177,7 +177,7 @@ void cHorse::OnRightClicked(cPlayer & a_Player)
}
m_TameAttemptTimes++;
- a_Player.AttachTo(this);
+ a_Player.AttachTo(*this);
}
}
else