summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index e0d5675d..28a1c286 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -122,13 +122,14 @@ 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
+ virtual void nextStep()
+ { nextStep(0); }
+
+ virtual void nextStep(unsigned char dir);
/**
* Returns the player's inventory.
@@ -386,7 +387,7 @@ class LocalPlayer : public Player
// Colors don't change for local player
virtual void updateColors() {}
- void walk(unsigned char dir);
+ void startWalking(unsigned char dir);
bool mInStorage; /**< Whether storage is currently accessible */