From b594440ec6028a5f6915a6c8befd4b2570f88e4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jul 2014 19:41:30 +0300 Subject: In localplayer rename methods moveType into changeMoveType. --- src/actionmanager.cpp | 2 +- src/being/localplayer.cpp | 2 +- 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; } -- cgit v1.2.3-70-g09d2