summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 20:52:49 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 20:52:49 +0100
commit7ba432b338ffa4c448de9d68d0f1b1e0024cd50a (patch)
tree706035da78a49c971f6d3bf3d812582581ce93a4 /src/ClientHandle.cpp
parentMerge pull request #2894 from LogicParrot/spider (diff)
parentImproved tamed wolf pack cooperation and projectile reactions (diff)
downloadcuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar.gz
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar.bz2
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar.lz
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar.xz
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.tar.zst
cuberite-7ba432b338ffa4c448de9d68d0f1b1e0024cd50a.zip
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r--src/ClientHandle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 6585a38b2..4e882b5d8 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -1642,7 +1642,7 @@ void cClientHandle::HandleUseEntity(UInt32 a_TargetEntityID, bool a_IsLeftClick)
m_Me->AddFoodExhaustion(0.3);
if (a_Entity->IsPawn())
{
- m_Me->NotifyFriendlyWolves(static_cast<cPawn*>(a_Entity));
+ m_Me->NotifyNearbyWolves(static_cast<cPawn*>(a_Entity), true);
}
return true;
}