summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp6
-rw-r--r--src/being/localplayer.h4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 01e4466bf..9f8ad71c4 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2117,7 +2117,6 @@ void LocalPlayer::updateCoords()
break;
}
}
-
if (mDrawPath && mShowNavigePath)
{
tmpLayer->clean();
@@ -2586,6 +2585,11 @@ void LocalPlayer::updateNavigateList()
}
}
+void LocalPlayer::failMove(const int x A_UNUSED,
+ const int y A_UNUSED)
+{
+}
+
void LocalPlayer::waitFor(const std::string &nick)
{
mWaitFor = nick;
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index b09e63828..5fa17b7f8 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -425,6 +425,9 @@ class LocalPlayer final : public Being,
void freezeMoving(const int timeWaitTicks);
+ void failMove(const int x,
+ const int y);
+
protected:
void updateCoords() override final;
@@ -523,6 +526,7 @@ class LocalPlayer final : public Being,
bool mShowNavigePath;
bool mAllowRename;
bool mFreezed;
+ bool mAllowNextStep;
};
extern LocalPlayer *localPlayer;