summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 6c36fa1c..6ec334ed 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -458,11 +458,7 @@ void LocalPlayer::setTarget(Being *target)
static_cast<Monster *>(target)->setShowName(true);
}
-#ifdef MANASERV_SUPPORT
void LocalPlayer::setDestination(int x, int y)
-#else
-void LocalPlayer::setDestination(Uint16 x, Uint16 y)
-#endif
{
#ifdef MANASERV_SUPPORT
// Pre-computing character's destination in tiles
@@ -1159,4 +1155,4 @@ void LocalPlayer::optionChanged(const std::string &value)
{
setShowName(config.getValue("showownname", 1));
}
-} \ No newline at end of file
+}