summaryrefslogtreecommitdiffstats
path: root/src/Entities/Pawn.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-05-03 09:48:39 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-05-03 09:48:39 +0200
commitb3d4e0fca665502b727f0088a3a20aac1b9ad073 (patch)
tree89e7bd48177595a5fd69ff411268777444eb351d /src/Entities/Pawn.h
parentFix crash on world travel (#3180) (diff)
downloadcuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.gz
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.bz2
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.lz
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.xz
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.tar.zst
cuberite-b3d4e0fca665502b727f0088a3a20aac1b9ad073.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Pawn.h4
1 files changed, 4 insertions, 0 deletions
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<cEntityEffect::eType, cEntityEffect *> tEffectMap;
tEffectMap m_EntityEffects;