summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 13:44:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 13:44:03 +0300
commit46d1266f00dfde5d04d7980daea4bab02e77cb69 (patch)
treeadfaa8bdc5b96bf951de15119b1a0854e2eedc9f /src/being/localplayer.h
parentba88670fe4b5f4606f80651f6433cc755ab6b6c1 (diff)
downloadmv-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.gz
mv-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.bz2
mv-46d1266f00dfde5d04d7980daea4bab02e77cb69.tar.xz
mv-46d1266f00dfde5d04d7980daea4bab02e77cb69.zip
Use MercenaryInfo object for storing mercenary attributes.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h7
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;