summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-21 01:05:46 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-21 01:05:46 +0300
commit9a53f1a15bec5cf6559c3c78761424081a73c50e (patch)
treef8415d9443164e1d533630d3dd67b37aad52ac51 /src/localplayer.h
parent71d0606a0356e8f9a5fb605190aef7330b630b9e (diff)
downloadmv-9a53f1a15bec5cf6559c3c78761424081a73c50e.tar.gz
mv-9a53f1a15bec5cf6559c3c78761424081a73c50e.tar.bz2
mv-9a53f1a15bec5cf6559c3c78761424081a73c50e.tar.xz
mv-9a53f1a15bec5cf6559c3c78761424081a73c50e.zip
Fix removing home position from mouse and saving map objects/home position.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index d3a166d85..a5d5563cf 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -459,6 +459,10 @@ class LocalPlayer : public Being, public ActorSpriteListener,
virtual unsigned char getWalkMask() const;
+ void saveHomes();
+
+ void removeHome();
+
protected:
/** Whether or not the name settings have changed */
bool mUpdateName;
@@ -485,8 +489,6 @@ class LocalPlayer : public Being, public ActorSpriteListener,
void loadHomes();
- void saveHomes();
-
bool mInStorage; /**< Whether storage is currently accessible */
int mAttackRange;
@@ -494,7 +496,6 @@ class LocalPlayer : public Being, public ActorSpriteListener,
int mTargetTime; /** How long the being has been targeted **/
int mLastTarget; /** Time stamp of last targeting action,
-1 if none. */
-
int mGMLevel;
//move type