summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-21 23:23:26 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-01-21 23:40:27 +0100
commit7fa3653824e7aacf15aa4fc14f2465addc831851 (patch)
treeb8a4dbb0dc3461c494154d6f5c0a318fcac05838 /src/localplayer.cpp
parent762053a1547c32c2036f0d3647bfb8d19d009320 (diff)
downloadmana-7fa3653824e7aacf15aa4fc14f2465addc831851.tar.gz
mana-7fa3653824e7aacf15aa4fc14f2465addc831851.tar.bz2
mana-7fa3653824e7aacf15aa4fc14f2465addc831851.tar.xz
mana-7fa3653824e7aacf15aa4fc14f2465addc831851.zip
No point in differentiating between int and Uint16
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
+}