From c84461ec7b38c2b325dfcbf4a85ec148172af33a Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Mon, 3 Feb 2025 15:04:05 +0000 Subject: Typofix: mShowNavigePath -> mShowNavigatePath **** mana/plus!119 --- src/being/localplayer.cpp | 8 ++++---- 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; }; -- cgit v1.2.3-70-g09d2