From 7fa3653824e7aacf15aa4fc14f2465addc831851 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 21 Jan 2010 23:23:26 +0100 Subject: No point in differentiating between int and Uint16 --- src/localplayer.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/localplayer.cpp') 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(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 +} -- cgit v1.2.3-70-g09d2