diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-08-01 13:14:45 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-08-01 21:41:46 -0400 |
commit | 455b56f0a3aa89fec063696ef86aa39986b21a5f (patch) | |
tree | e8c9b80143339762db66a627392e34df47e82df2 /src/player.cpp | |
parent | 5858cbe02393c64ae75952f390bd2012082bcc5b (diff) | |
download | mana-455b56f0a3aa89fec063696ef86aa39986b21a5f.tar.gz mana-455b56f0a3aa89fec063696ef86aa39986b21a5f.tar.bz2 mana-455b56f0a3aa89fec063696ef86aa39986b21a5f.tar.xz mana-455b56f0a3aa89fec063696ef86aa39986b21a5f.zip |
Remove some unused movement methods
Diffstat (limited to 'src/player.cpp')
-rw-r--r-- | src/player.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
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); |