diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-21 13:44:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-21 13:44:03 +0300 |
commit | 46d1266f00dfde5d04d7980daea4bab02e77cb69 (patch) | |
tree | adfaa8bdc5b96bf951de15119b1a0854e2eedc9f /src/being/localplayer.h | |
parent | ba88670fe4b5f4606f80651f6433cc755ab6b6c1 (diff) | |
download | plus-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.gz plus-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.bz2 plus-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.xz plus-46d1266f00dfde5d04d7980daea4bab02e77cb69.zip |
Use MercenaryInfo object for storing mercenary attributes.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index d90e94dc1..ed2b42b53 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -403,12 +403,6 @@ class LocalPlayer final : public Being, AwayListener *getAwayListener() const A_WARN_UNUSED { return mAwayListener; } - void setMercenary(const int id) - { mMercenaryId = id; } - - int getMercenary() const - { return mMercenaryId; } - protected: void updateCoords() override final; @@ -490,7 +484,6 @@ class LocalPlayer final : public Being, std::string mTestParticleName; int mTestParticleTime; unsigned long mTestParticleHash; - int mMercenaryId; unsigned char mWalkingDir; // The direction the player is walking in. /** Whether or not the name settings have changed */ bool mUpdateName; |