From 455b56f0a3aa89fec063696ef86aa39986b21a5f Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sat, 1 Aug 2009 13:14:45 -0400 Subject: Remove some unused movement methods --- src/player.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/player.cpp') diff --git a/src/player.cpp b/src/player.cpp index 3b2271bd..fd7cd0d6 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -255,21 +255,6 @@ void Player::updateCoords() } #ifdef TMWSERV_SUPPORT - -Path Player::findPath() -{ - Path path; - - if (mMap) - { - path = mMap->findSimplePath(getPosition().x / 32, getPosition().y / 32, - getDestination().x / 32, getDestination().y / 32, - getWalkMask()); - } - - return path; -} - Guild* Player::addGuild(short guildId, short rights) { Guild *guild = new Guild(guildId, rights); -- cgit v1.2.3-60-g2f50