diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 9229c583..57e1bb35 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -367,10 +367,14 @@ class LocalPlayer : public Player std::pair<int, int> getExperience(int skill); - /** Tells the path has been set by mouse */ + /** Tells that the path has been set by mouse. */ void pathSetByMouse() { mPathSetByMouse = true; } + /** Tells if the path has been set by mouse. */ + bool isPathSetByMouse() const + { return mPathSetByMouse; } + bool mUpdateName; /** Whether or not the name settings have changed */ bool mMapInitialized; /** Whether or not the map is available yet */ |