summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/LeashKnot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/LeashKnot.cpp b/src/Entities/LeashKnot.cpp
index 52bb1b4b3..a86dc9d53 100644
--- a/src/Entities/LeashKnot.cpp
+++ b/src/Entities/LeashKnot.cpp
@@ -83,7 +83,7 @@ void cLeashKnot::TiePlayersLeashedMobs(cPlayer & a_Player, bool a_ShouldBroadCas
// All conditions met, unleash from player and leash to fence
PotentialLeashed->Unleash(false, false);
- PotentialLeashed->LeashTo(m_Knot, m_ShouldBroadcast);
+ PotentialLeashed->LeashTo(*m_Knot, m_ShouldBroadcast);
return false;
}
} LookForLeashedsCallback(this, &a_Player, a_ShouldBroadCast);