diff options
-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. |