summaryrefslogtreecommitdiff
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
parent5bb61caa784254b1d9c2ccd791feba2bbb2f3023 (diff)
downloadplus-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.gz
plus-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.bz2
plus-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.xz
plus-b594440ec6028a5f6915a6c8befd4b2570f88e4b.zip
In localplayer rename methods moveType into changeMoveType.
-rw-r--r--src/actionmanager.cpp2
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index a816743f2..2d9d366b5 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -499,7 +499,7 @@ impHandler0(setHome)
impHandler0(changeMoveType)
{
- callYellowBar(moveType);
+ callYellowBar(changeMoveType);
}
impHandler0(changeAttackWeaponType)
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; }