diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-11-10 18:03:19 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-11-10 18:03:19 +0100 |
commit | 4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad (patch) | |
tree | cc132d550987016358921e8e6c11b2544df5c503 /source/Mobs/Wolf.h | |
parent | Using cMonster::Tick instead of super::cMonster::Tick (diff) | |
download | cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar.gz cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar.bz2 cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar.lz cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar.xz cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.tar.zst cuberite-4f11cd2f8a665dcda7f06c1b5e1c8b8cda7b38ad.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Wolf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Mobs/Wolf.h b/source/Mobs/Wolf.h index e1ce25200..fb6bb2355 100644 --- a/source/Mobs/Wolf.h +++ b/source/Mobs/Wolf.h @@ -27,14 +27,14 @@ public: bool IsTame(void) const { return m_bIsTame; } bool IsBegging(void) const { return m_bIsBegging; } bool IsAngry(void) const { return m_bIsAngry; } - cEntity * GetOwner(void) const { return m_bOwner; } + AString GetOwner(void) const { return m_bOwner; } // Set functions void SetIsSitting(bool a_IsSitting) { m_bIsSitting = a_IsSitting; } void SetIsTame(bool a_IsTame) { m_bIsTame = a_IsTame; } void SetIsBegging(bool a_IsBegging) { m_bIsBegging = a_IsBegging; } void SetIsAngry(bool a_IsAngry) { m_bIsAngry = a_IsAngry; } - void SetOwner(cEntity * a_Entity) { m_bOwner = a_Entity; } + void SetOwner(AString a_NewOwner) { m_bOwner = a_NewOwner; } private: @@ -42,7 +42,7 @@ private: bool m_bIsTame; bool m_bIsBegging; bool m_bIsAngry; - cEntity * m_bOwner; + AString m_bOwner; } ; |