summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }