diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-20 19:41:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-20 19:41:30 +0300 |
commit | b594440ec6028a5f6915a6c8befd4b2570f88e4b (patch) | |
tree | a90eef06e44d0f89485444061d38759a5c0568d2 | |
parent | 5bb61caa784254b1d9c2ccd791feba2bbb2f3023 (diff) | |
download | manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.gz manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.bz2 manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.tar.xz manaverse-b594440ec6028a5f6915a6c8befd4b2570f88e4b.zip |
In localplayer rename methods moveType into changeMoveType.
-rw-r--r-- | src/actionmanager.cpp | 2 | ||||
-rw-r--r-- | src/being/localplayer.cpp | 2 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
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; } |