summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-16 01:33:36 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-16 01:33:36 +0300
commit910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7 (patch)
treeded21112ebe8b3fba891da7e2f4ee10c6fbf1475
parent78afa659472cc4cfca37056088ed9cb9f79845eb (diff)
downloadplus-910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7.tar.gz
plus-910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7.tar.bz2
plus-910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7.tar.xz
plus-910e16e9c485a0ffa02d5cc39d0df0a467cf8cf7.zip
Remove extra nextTile function from localplayer.
-rw-r--r--src/being/localplayer.cpp2
-rw-r--r--src/being/localplayer.h5
2 files changed, 2 insertions, 5 deletions
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);