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.cpp | |
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.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index a5b5ce5fc..68d39f08f 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -117,7 +117,6 @@ LocalPlayer::LocalPlayer(const BeingId id, AttributeListener(), PlayerDeathListener(), StatListener(), - mGroupId(0), mMoveState(0), mLastTargetX(0), mLastTargetY(0), @@ -418,7 +417,7 @@ void LocalPlayer::setAction(const BeingActionT &action, void LocalPlayer::setGroupId(const int id) { - mGroupId = id; + Being::setGroupId(id); if (id > 0) { |