diff options
author | Bertram <bertram@cegetel.net> | 2009-10-09 02:08:20 +0200 |
---|---|---|
committer | Bertram <bertram@cegetel.net> | 2009-10-09 02:08:20 +0200 |
commit | 07c92a402d3455bb2785c1fc69d03263888793b9 (patch) | |
tree | 5315c6433592e55287c25ed628706a3e36a65d95 /src | |
parent | 658e00c3b34821360e860fb060558c09d472a582 (diff) | |
download | mana-07c92a402d3455bb2785c1fc69d03263888793b9.tar.gz mana-07c92a402d3455bb2785c1fc69d03263888793b9.tar.bz2 mana-07c92a402d3455bb2785c1fc69d03263888793b9.tar.xz mana-07c92a402d3455bb2785c1fc69d03263888793b9.zip |
While seeing it, made obvious that LocalPlayer::nextStep() isn't used by TMWserv client.
Diffstat (limited to 'src')
-rw-r--r-- | src/localplayer.cpp | 5 | ||||
-rw-r--r-- | src/localplayer.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index d770d3bb..2744f106 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -263,6 +263,7 @@ void LocalPlayer::setGMLevel(int level) setGM(true); } +#ifdef EATHENA_SUPPORT void LocalPlayer::nextStep() { // TODO: Fix picking up when reaching target (this method is obsolete) @@ -291,10 +292,10 @@ void LocalPlayer::nextStep() mPath.clear(); } -#ifdef EATHENA_SUPPORT + Player::nextStep(); -#endif } +#endif #ifdef TMWSERV_SUPPORT bool LocalPlayer::checkInviteRights(const std::string &guildName) diff --git a/src/localplayer.h b/src/localplayer.h index f0bb889d..e0d5675d 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -122,11 +122,13 @@ class LocalPlayer : public Player virtual void setAction(Action action, int attackType = 0); +#ifdef EATHENA_SUPPORT /** * Adds a new step when walking before calling super. Also, when * specified it picks up an item at the end of a path. */ virtual void nextStep(); +#endif /** * Returns the player's inventory. |