summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-20 19:41:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-20 19:41:30 +0300
commitb594440ec6028a5f6915a6c8befd4b2570f88e4b (patch)
treea90eef06e44d0f89485444061d38759a5c0568d2 /src/being
parent5bb61caa784254b1d9c2ccd791feba2bbb2f3023 (diff)
downloadmanaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.gz
manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.bz2
manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.xz
manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.zip
In localplayer rename methods moveType into changeMoveType.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 3cd724018..ac73d45df 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1272,7 +1272,7 @@ void LocalPlayer::changeMode(unsigned *restrict const var,
debugMsg(str.substr(4));
}
-void LocalPlayer::moveType(const bool forward)
+void LocalPlayer::changeMoveType(const bool forward)
{
mMoveState = 0;
changeMode(&mMoveType, moveTypeSize, "invertMoveDirection",
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 453781e2b..82a258678 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -192,7 +192,7 @@ class LocalPlayer final : public Being,
void setMoveType(const int n)
{ mMoveType = n; }
- void moveType(const bool forward);
+ void changeMoveType(const bool forward);
int getAttackWeaponType() const A_WARN_UNUSED
{ return mAttackWeaponType; }