From a366d82dad85389c9562fdfdd3a981894603fa07 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Jul 2017 19:54:41 +0300 Subject: Move group id from localplayer to being. --- src/being/localplayer.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/being/localplayer.h') diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 7e77f5322..76a8c913b 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -114,10 +114,7 @@ class LocalPlayer final : public Being, void attack2(Being *const target = nullptr, const bool keep = false, const bool dontChangeEquipment = false); - void setGroupId(const int id); - - int getGroupId() const noexcept2 A_WARN_UNUSED - { return mGroupId; } + void setGroupId(const int id) override final; void stopAttack(const bool keepAttack = false); @@ -454,8 +451,6 @@ class LocalPlayer final : public Being, void loadHomes(); - int mGroupId; - // move state. used if mMoveType == 2 unsigned int mMoveState; -- cgit v1.2.3-60-g2f50