diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 8e5795c3..64e37fee 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -128,6 +128,8 @@ class LocalPlayer : public Being * Sets a new destination for this being to walk to. */ virtual void setDestination(int x, int y); + virtual void setDestination(const Vector &dest) + { setDestination((int)dest.x, (int)dest.y); } /** * Sets a new direction to keep walking in, when using the keyboard |