diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-12 19:54:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-12 21:12:24 +0300 |
commit | a366d82dad85389c9562fdfdd3a981894603fa07 (patch) | |
tree | 37a254b8e65d0324624f42520a7ed3943cab2e28 /src/being/localplayer.h | |
parent | 03948f9bc58477100c61c11651290bee372dab5f (diff) | |
download | plus-a366d82dad85389c9562fdfdd3a981894603fa07.tar.gz plus-a366d82dad85389c9562fdfdd3a981894603fa07.tar.bz2 plus-a366d82dad85389c9562fdfdd3a981894603fa07.tar.xz plus-a366d82dad85389c9562fdfdd3a981894603fa07.zip |
Move group id from localplayer to being.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 7 |
1 files changed, 1 insertions, 6 deletions
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; |