From b3d4e0fca665502b727f0088a3a20aac1b9ad073 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Tue, 3 May 2016 10:48:39 +0300 Subject: Fixed death on teleportation or leaving Minecart (#3181) --- src/Entities/Pawn.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Entities/Pawn.h') diff --git a/src/Entities/Pawn.h b/src/Entities/Pawn.h index 05bc09e88..d6f7e052a 100644 --- a/src/Entities/Pawn.h +++ b/src/Entities/Pawn.h @@ -69,6 +69,10 @@ public: /** Add the monster to the list of monsters targeting this pawn. (Does not check if already in list!) */ void TargetingMe(cMonster * a_Monster); + void SetPosition(double a_PosX, double a_PosY, double a_PosZ); + + virtual void SetPosition(const Vector3d & a_Position) override; + protected: typedef std::map tEffectMap; tEffectMap m_EntityEffects; -- cgit v1.2.3