diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-02-03 15:04:05 +0000 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-02-03 15:04:05 +0000 |
commit | c84461ec7b38c2b325dfcbf4a85ec148172af33a (patch) | |
tree | 0af832c31bea64d6e8ec5ce139e7b8e075c8572f | |
parent | 6ab633cd99cb71399098058217029c37cba37fbc (diff) | |
download | plus-c84461ec7b38c2b325dfcbf4a85ec148172af33a.tar.gz plus-c84461ec7b38c2b325dfcbf4a85ec148172af33a.tar.bz2 plus-c84461ec7b38c2b325dfcbf4a85ec148172af33a.tar.xz plus-c84461ec7b38c2b325dfcbf4a85ec148172af33a.zip |
Typofix: mShowNavigePath -> mShowNavigatePath
****
mana/plus!119
-rw-r--r-- | src/being/localplayer.cpp | 8 | ||||
-rw-r--r-- | src/being/localplayer.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 3a7e77cd0..83b4816ae 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -178,7 +178,7 @@ LocalPlayer::LocalPlayer(const BeingId id, mKeepAttacking(false), mPathSetByMouse(false), mWaitPing(false), - mShowNavigePath(false), + mShowNavigatePath(false), mAllowRename(false), mFreezed(false) { @@ -2122,7 +2122,7 @@ bool LocalPlayer::navigateTo(const int x, const int y) if (tmpLayer == nullptr) return false; - mShowNavigePath = true; + mShowNavigatePath = true; mOldX = mPixelX; mOldY = mPixelY; mOldTileX = mX; @@ -2149,7 +2149,7 @@ void LocalPlayer::navigateClean() if (mMap == nullptr) return; - mShowNavigePath = false; + mShowNavigatePath = false; mOldX = 0; mOldY = 0; mOldTileX = 0; @@ -2244,7 +2244,7 @@ void LocalPlayer::updateCoords() break; } } - if (mDrawPath && mShowNavigePath) + if (mDrawPath && mShowNavigatePath) { tmpLayer->clean(); tmpLayer->addRoad(mNavigatePath); diff --git a/src/being/localplayer.h b/src/being/localplayer.h index cd8743a43..1770bd4d3 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -531,7 +531,7 @@ class LocalPlayer final : public Being, // Tells if the path was set using mouse bool mPathSetByMouse; bool mWaitPing; - bool mShowNavigePath; + bool mShowNavigatePath; bool mAllowRename; bool mFreezed; }; |