From 8c12227687454abe5bdd0b8796f84f15fd3817d8 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 16 Jan 2016 14:16:47 +0200 Subject: Fix crash when tamed wolf is hit by arrows --- src/Entities/Player.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 47f98c157..fbb09b815 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -500,7 +500,7 @@ public: 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); + void NotifyFriendlyWolves(cPawn * a_Opponent); // cEntity overrides: virtual bool IsCrouched (void) const override { return m_IsCrouched; } -- cgit v1.2.3