summaryrefslogtreecommitdiff
path: root/src/being/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-22 22:09:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-22 22:09:02 +0300
commit51c9a63a660fe88cfa44d93028e6ae2448fb889d (patch)
tree8c4b1db548208737a43d52fbe28b99cb5060f017 /src/being/localplayer.h
parentbce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca (diff)
downloadmv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.gz
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.bz2
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.xz
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.zip
Not allow moving from sit state if server not support it.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r--src/being/localplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 3c0ed4286..732c27c7f 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -421,6 +421,8 @@ class LocalPlayer final : public Being,
bool getRename() const
{ return mAllowRename; }
+ bool canMove() const;
+
protected:
void updateCoords() override final;