From 910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Sat, 16 Dec 2017 01:33:36 +0300
Subject: Remove extra nextTile function from localplayer.

---
 src/being/localplayer.cpp | 2 +-
 src/being/localplayer.h   | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)

(limited to 'src')

diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 53ab03d16..4e783606f 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -436,7 +436,7 @@ void LocalPlayer::setGroupId(const int id)
         statusWindow->updateLevelLabel();
 }
 
-void LocalPlayer::nextTile(unsigned char dir A_UNUSED = 0)
+void LocalPlayer::nextTile()
 {
     const Party *const party = Party::getParty(1);
     if (party != nullptr)
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index e7c38f21c..11ac545bc 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -85,10 +85,7 @@ class LocalPlayer final : public Being,
          * Also, when specified, it picks up an item at the end of a path
          * or attack target.
          */
-        void nextTile() override final
-        { nextTile(0); }
-
-        void nextTile(unsigned char dir);
+        void nextTile() override final;
 
         bool pickUp(FloorItem *const item);
 
-- 
cgit v1.2.3-70-g09d2