diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-12 11:13:36 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-12 11:13:36 +0100 |
commit | e2a053263f4798f879392756bb056eabf0ade3a4 (patch) | |
tree | 5d543baa8842fe74c4ed66984860be483d28c627 /src/Entities/Player.h | |
parent | Merge pull request #2853 from cuberite/DetailedBlockAreaLogging (diff) | |
parent | Tamed wolf assists owner (attack / defence) (diff) | |
download | cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar.gz cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar.bz2 cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar.lz cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar.xz cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.tar.zst cuberite-e2a053263f4798f879392756bb056eabf0ade3a4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 10c9106a3..47f98c157 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -499,6 +499,9 @@ 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(cEntity * a_Opponent); + // cEntity overrides: virtual bool IsCrouched (void) const override { return m_IsCrouched; } virtual bool IsSprinting(void) const override { return m_IsSprinting; } |