From 439b3304f4c82448b0e1585f8641503691212cac Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Fri, 22 Jan 2016 20:55:46 +0200 Subject: Improved tamed wolf pack cooperation and projectile reactions --- src/Entities/Player.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index fbb09b815..efd515b23 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -499,8 +499,11 @@ public: Assumes that all the blocks are in currently loaded chunks. */ bool PlaceBlocks(const sSetBlockVector & a_Blocks); - /** Notify friendly wolves that we took damage or did damage to an entity so that they might assist us. */ - void NotifyFriendlyWolves(cPawn * a_Opponent); + /** Notify nearby wolves that the player or one of the player's wolves took damage or did damage to an entity + @param a_Opponent the opponent we're fighting. + @param a_IsPlayerInvolved Should be true if the player took or did damage, and false if one of the player's wolves took or did damage. + */ + void NotifyNearbyWolves(cPawn * a_Opponent, bool a_IsPlayerInvolved); // cEntity overrides: virtual bool IsCrouched (void) const override { return m_IsCrouched; } -- cgit v1.2.3